Move the additional_search_parameters_provided analytic inside facets

This commit is contained in:
Clément Renault 2023-06-27 17:38:24 +02:00 committed by Louis Dureuil
parent 63fd10aaa5
commit 32f2556d22
No known key found for this signature in database

View File

@ -506,8 +506,8 @@ impl Segment {
{
let _ = self.batcher.push(post_multi_search).await;
}
if let Some(post_facet_search) = take(post_facet_search_aggregator)
.into_event(&user, "Documents Searched by Facet-Search POST")
if let Some(post_facet_search) =
take(post_facet_search_aggregator).into_event(&user, "Facet Searched POST")
{
let _ = self.batcher.push(post_facet_search).await;
}
@ -1027,8 +1027,8 @@ impl FacetSearchAggregator {
},
"facets": {
"total_distinct_facet_count": self.facet_names.len(),
"additional_search_parameters_provided": self.additional_search_parameters_provided,
},
"additional_search_parameters_provided": self.additional_search_parameters_provided,
});
Some(Track {