324 Commits

Author SHA1 Message Date
Jason Bosco
171e94f593 Multi search end-point 2021-01-23 07:58:26 -08:00
Jason Bosco
eed5d61c15 Validate override configuration during creation 2021-01-23 07:45:35 -08:00
Jason Bosco
8b4e07cb81 Configuration to log slow requests 2021-01-23 07:44:59 -08:00
Jason Bosco
0306242d59 Add limit_hits param for restricting total results 2021-01-22 21:37:36 -08:00
Jason Bosco
c110f8ecff Dynamic expansion of max hits 2021-01-22 20:20:37 -08:00
Jason Bosco
a08fb7738f Exhaustive token searching with filter_ids 2021-01-22 20:06:18 -08:00
Jason Bosco
1e1f7371f2 Handle malformed scoped API key better 2021-01-22 16:49:20 -08:00
kishorenc
59f95dbf67 Use max_hits parameter for consistent pagination.
This will not affect wildcard queries or single field queries.
2020-12-28 19:20:00 +05:30
kishorenc
3f0bb24b45 Synonym response should not leak underlying structure. 2020-12-28 19:20:00 +05:30
kishorenc
2061d04629 Treat token hits as a rank slot instead of a weight. 2020-12-28 19:20:00 +05:30
kishorenc
bc1d88f1eb Consider tokens matching across fields during ranking. 2020-12-28 19:20:00 +05:30
kishorenc
66a44a5afc Expose field weights used for scoring. 2020-12-28 19:20:00 +05:30
kishorenc
667eee1dad Use weighted scoring of fields for matching.
For now, weights are not exposed, but this is possible in future.
2020-12-28 19:20:00 +05:30
kishorenc
fe5bdf617c Fixed an edge case in trie fuzzy search. 2020-12-28 19:19:59 +05:30
kishorenc
cd0a58d7b5 Support upsert of synonym. 2020-12-28 19:19:59 +05:30
kishorenc
435476df5d Rank prefix match below exact match. 2020-12-28 19:19:59 +05:30
kishorenc
590aed7f0e Give highest priority to field order while ranking. 2020-12-28 19:19:59 +05:30
kishorenc
f4423367c8 Aggregate match score when matched across array elements. 2020-12-28 19:19:59 +05:30
kishorenc
e5fa36a0b0 Remove pre-sorting of index topsters. 2020-12-28 19:19:59 +05:30
kishorenc
8f818f7fcb More exhaustive multi-field ranking. 2020-12-28 19:19:59 +05:30
kishorenc
90ac320c93 Synonyms should be able to belong to multiple sets. 2020-12-28 19:19:59 +05:30
kishorenc
88918ef958 Synonyms basics. 2020-12-28 19:19:59 +05:30
kishorenc
1373dacb0c Improve upsert test case with a filter usecase. 2020-12-28 19:19:59 +05:30
kishorenc
fc989f1ac2 Handle case when all query tokens are exclusions. 2020-12-28 19:19:59 +05:30
kishorenc
6883b4db36 Speed up numerical filter + fixed edge case with -ve value. 2020-12-28 19:19:59 +05:30
kishorenc
c97ded0458 Support expiry of API keys.
Both parent and scoped keys are supported, but the expiry time of parent key takes precedence. Default is a date far into the future.
2020-12-28 19:19:59 +05:30
kishorenc
a912a250ff Fix bad unicode characters in highlight snippet. 2020-12-28 19:19:59 +05:30
kishorenc
ec9da2ccf3 Support regexp of collection names in API key. 2020-12-28 19:19:59 +05:30
kishorenc
f164de4702 Multi field matching: ensure best matched field prevails. 2020-12-28 19:19:59 +05:30
kishorenc
1bed2d7d80 Support excluding tokens from query.
Prefixing a token in the query with "-" will fetch documents that do not contain that token.
2020-12-28 19:19:59 +05:30
kishorenc
8c51e3f920 Support operators in multi-valued numerical filter. 2020-12-28 19:19:59 +05:30
kishorenc
7e2b0fcdcb Match query tokens across multiple fields effectively. 2020-12-28 19:19:59 +05:30
kishorenc
0dfdfcf0d2 Single leaf addition (cvt). 2020-12-28 19:19:59 +05:30
kishorenc
f52b2597a1 Fixed a bug in array exclusion affecting pinned hits. 2020-12-28 19:19:59 +05:30
kishorenc
dc25b2684b Fixed a bug in pinned hits with wildcard query.
The filtered IDs must be sorted before intersected with pinned IDs.
2020-12-28 19:19:59 +05:30
kishorenc
3a86d58506 Handle colon character in pinned hit IDs. 2020-12-28 19:19:59 +05:30
kishorenc
254c58dd31 Fix ordering issue on pinned hits. 2020-12-28 19:19:59 +05:30
kishorenc
7d6a266934 Validate field data types during collection creation. 2020-11-17 20:10:34 +05:30
kishorenc
eaea93c572 Delete documents matching a filter query. 2020-11-17 20:10:34 +05:30
kishorenc
9533b73609 Fixed a few higlighting/splitting edge cases. 2020-11-17 20:10:34 +05:30
kishorenc
6997e35f72 Combine various token operations in a single flow.
Splitting, normalizing etc. are now done in a single loop.
2020-11-17 20:10:34 +05:30
kishorenc
6c1455bc2f Return matched tokens in highlight response structure.
Also, allows customization of the highlighting tag used (default being the mark tag).
2020-11-17 20:10:34 +05:30
kishorenc
b2cce4f336 Allow colon to be present in filter query value. 2020-11-07 13:52:52 +05:30
Kishore Nallan
6fbc814070 Fix replacing overrides. 2020-11-03 19:36:25 +05:30
Kishore Nallan
908a8b0026 [Bug] String array field update + faceting.
Updates to string array fields were triggering a crash during faceting due to mismatch in array position.
2020-11-03 19:36:25 +05:30
Kishore Nallan
bfddcb9e13 Fix typo. 2020-10-25 10:13:15 +05:30
Kishore Nallan
f836a633b6 Ensure that ID in the path and body match. 2020-10-25 08:55:44 +05:30
Kishore Nallan
bdbb097ad2 Fix upsert not fetching document correctly. 2020-10-25 07:42:44 +05:30
Kishore Nallan
347a2a1ece Add more tests for update/upsert/create scenarios. 2020-10-24 17:17:39 +05:30
Kishore Nallan
e22297e249 Fixed failing test. 2020-10-24 16:48:25 +05:30