mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Fix the segment analytics tests
This commit is contained in:
parent
277a0a7967
commit
e5b760c59a
@ -426,10 +426,10 @@ impl SearchAggregator {
|
|||||||
ret.max_limit = query.limit;
|
ret.max_limit = query.limit;
|
||||||
ret.max_offset = query.offset.unwrap_or_default();
|
ret.max_offset = query.offset.unwrap_or_default();
|
||||||
|
|
||||||
ret.highlight_pre_tag = query.highlight_pre_tag != DEFAULT_HIGHLIGHT_PRE_TAG;
|
ret.highlight_pre_tag = query.highlight_pre_tag != DEFAULT_HIGHLIGHT_PRE_TAG();
|
||||||
ret.highlight_post_tag = query.highlight_post_tag != DEFAULT_HIGHLIGHT_POST_TAG;
|
ret.highlight_post_tag = query.highlight_post_tag != DEFAULT_HIGHLIGHT_POST_TAG();
|
||||||
ret.crop_marker = query.crop_marker != DEFAULT_CROP_MARKER;
|
ret.crop_marker = query.crop_marker != DEFAULT_CROP_MARKER();
|
||||||
ret.crop_length = query.crop_length != DEFAULT_CROP_LENGTH;
|
ret.crop_length = query.crop_length != DEFAULT_CROP_LENGTH();
|
||||||
ret.show_matches_position = query.show_matches_position;
|
ret.show_matches_position = query.show_matches_position;
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
Loading…
Reference in New Issue
Block a user