stop returning the degraded boolean when a search was cutoff

This commit is contained in:
Tamo 2024-03-14 17:52:08 +01:00
parent ad9192fbbf
commit 038c26c118
2 changed files with 53 additions and 45 deletions

View file

@ -324,7 +324,8 @@ pub struct SearchResult {
#[serde(skip_serializing_if = "Option::is_none")]
pub facet_stats: Option<BTreeMap<String, FacetStats>>,
#[serde(skip_serializing_if = "std::ops::Not::not")]
// This information is only used for analytics purposes
#[serde(skip)]
pub degraded: bool,
}