mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Fix analytics
This commit is contained in:
parent
3e3f73ba1e
commit
605c1dd54a
@ -960,7 +960,15 @@ pub struct FacetSearchAggregator {
|
|||||||
|
|
||||||
impl FacetSearchAggregator {
|
impl FacetSearchAggregator {
|
||||||
pub fn from_query(query: &FacetSearchQuery, request: &HttpRequest) -> Self {
|
pub fn from_query(query: &FacetSearchQuery, request: &HttpRequest) -> Self {
|
||||||
let FacetSearchQuery { facet_query: _, facet_name, q, filter, matching_strategy } = query;
|
let FacetSearchQuery {
|
||||||
|
facet_query: _,
|
||||||
|
facet_name,
|
||||||
|
vector,
|
||||||
|
q,
|
||||||
|
filter,
|
||||||
|
matching_strategy,
|
||||||
|
attributes_to_search_on,
|
||||||
|
} = query;
|
||||||
|
|
||||||
let mut ret = Self::default();
|
let mut ret = Self::default();
|
||||||
ret.timestamp = Some(OffsetDateTime::now_utc());
|
ret.timestamp = Some(OffsetDateTime::now_utc());
|
||||||
|
Loading…
Reference in New Issue
Block a user