1095 Commits

Author SHA1 Message Date
ozanarmagan
01f6885f55 Return rank fusion score in response 2023-03-16 13:51:00 +03:00
ozanarmagan
b10508a876 Review changes + unit test for rank fusion 2023-03-15 16:32:09 +03:00
Harpreet Sangar
41548976c0 Update error message. 2023-03-15 12:43:46 +05:30
Kishore Nallan
203252b610 Fix phrase search with space after starting double quote. 2023-03-14 14:23:43 +05:30
Harpreet Sangar
9641d42315 Remove Collection::validate_reference_filter.
Add comments.
2023-03-14 11:11:22 +05:30
Harpreet Sangar
08d41114cc Add or_filter_result. 2023-03-13 19:33:18 +05:30
Harpreet Sangar
3be000609a Add tests for and_filter_result. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
391d693ffa Add and_filter_result function. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
f38f3f9792 Remove filter_node_t::metrics.
Update function signatures to accept context ids.
2023-03-10 18:18:46 +05:30
Harpreet Sangar
db555d36ad Refactor tests. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
c6386b0c2f Add tests for rearranging filter tree and approx filter match count. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
0059f8d3fb Fix tests. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
82dddd3b6d Fix double locking of collection mutex. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
39a0270434 Add reference_fields map in Collection. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
076a04c062 Optimize reference filtering. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
1fbfa34672 Filter by reference. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
2670638648 Serialize sequence id. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
e7949e650a Reference include_fields. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
c77e0373ce Fix tests. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
424c0f20da Fix double locking of collection mutex. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
a11a899a4c Add reference_fields map in Collection. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
1d3e05f2cb Optimize reference filtering. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
72f896dc2e Filter by reference. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
e27cc6e34c Store foo_sequence_id in collection's meta-data. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
0fb5e0d2a2 Serialize sequence id. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
61bdcd91fd Abstract foo_sequence_id field from user. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
e78d209911 Add filter_result_t struct.
Add `reference_filter_result_t` struct.
Add support for lazy filtering.
Update `rearrange_filter_tree` to return approximate count of filter matches.
2023-03-10 18:18:46 +05:30
Kishore Nallan
149a9b51df Merge branch 'v0.25' into v0.25-join 2023-03-10 18:16:56 +05:30
Kishore Nallan
b5aa84f743 Fix edge case with phrase match on array. 2023-03-10 10:48:07 +05:30
Kishore Nallan
539e7dd67b
Merge pull request #924 from krunal1313/group_hits_count
Allow sorting groups on group hits count
2023-03-06 14:15:29 +05:30
krunal1313
ff7f906081 adding test for group sorting without group_by fields 2023-03-06 14:10:57 +05:30
Kishore Nallan
cfbcbfc6fb Handle special characters in prefix highlighting. 2023-03-06 13:31:38 +05:30
Kishore Nallan
b03c84cb4a Merge branch 'v0.25' into v0.25-join 2023-03-05 09:30:45 +05:30
krunal1313
c5d06cd271 simplifying test case 2023-03-03 18:11:25 +05:30
krunal1313
60b1c169f2 adding test with exceeding the topster threshold limit 2023-03-03 14:46:23 +05:30
krunal1313
77ffcd9444 sorting grouped results on group hit count 2023-03-02 18:05:28 +05:30
Kishore Nallan
543fc2ca7c
Merge pull request #915 from krunal1313/group_hits_count
Group hits count
2023-03-01 18:51:01 +05:30
ozanarmagan
e1d452b713 Review changes II 2023-02-27 13:24:42 +03:00
krunal1313
1b3e3a3455 fixing edge case of repeated field values while group hit count 2023-02-27 15:25:33 +05:30
Kishore Nallan
7655f6de1d Merge branch 'v0.24.1' into v0.25
# Conflicts:
#	src/collection.cpp
#	test/collection_locale_test.cpp
2023-02-26 20:37:42 +05:30
Kishore Nallan
26e3407d1d Add guards for filter node. 2023-02-26 19:58:24 +05:30
Kishore Nallan
47879ff35c Handle bad filter query in override. 2023-02-26 13:31:30 +05:30
krunal1313
7a06e11e39 adding hits count for each group in group_by operation 2023-02-24 12:12:55 +05:30
Kishore Nallan
de2de028b7 Refactor fuzzy search restrictions. 2023-02-22 10:11:47 +05:30
Kishore Nallan
7a5c0eafda Refactor fuzzy search state transition.
Handle extra chars in the middle of a query.
2023-02-22 10:11:42 +05:30
ozanarmagan
4f728c98fe Review Changes 2023-02-21 13:02:47 +03:00
Kishore Nallan
3b2e7e22f2 Merge branch 'v0.24.1' into v0.25 2023-02-20 18:10:49 +05:30
Kishore Nallan
e80b17085a Allow sequence id based sorting. 2023-02-20 18:10:22 +05:30
Kishore Nallan
5f4d43f877 The id cannot be a default sorting field. 2023-02-18 14:28:43 +05:30
Harpreet Sangar
e0d799777f Add test case for empty facet_by. 2023-02-17 10:15:39 +05:30