1037 Commits

Author SHA1 Message Date
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
Harpreet Sangar
bf4c3d39dc Only allow prefix matching with wildcard. 2023-02-17 09:48:32 +05:30
Harpreet Sangar
e8f9d2127f Add test for wilcard facet_by match with no counts. 2023-02-16 19:51:36 +05:30
Harpreet Sangar
0b965f9e32 Allow partial matches with wildcard facet_by. 2023-02-16 19:30:13 +05:30
Ozan Armağan
807a95b383
Merge branch 'v0.25-join' into v0.25 2023-02-16 16:15:20 +03:00
Kishore Nallan
7299742165
Merge branch 'v0.25-join' into v0.25 2023-02-16 18:26:12 +05:30
ozanarmagan
4f921a3040 Auto vector generation & Hybrid Search 2023-02-16 14:47:17 +03:00
Harpreet Sangar
a1e744b74d temp. 2023-02-16 14:47:17 +03:00
Harpreet Sangar
7a73d9ffd0 Reference include_fields. 2023-02-16 14:47:17 +03:00