1360 Commits

Author SHA1 Message Date
Kishore Nallan
ccee94375e Fix type detection in fields with regexp name. 2021-10-05 15:50:12 +05:30
Kishore Nallan
1ad6619267 Polygon points used for filtering can be either CW or CCW.
Both clock-wise and anti-clock-wise now supported.
2021-10-04 19:38:43 +05:30
Kishore Nallan
1fa2193c50 Configurable 1-typo and 2-typo min token lengths. 2021-10-04 18:18:05 +05:30
Kishore Nallan
dbb688254e Fix edge case with ID-based filtering.
When no IDs match, no results should be found.
2021-10-04 13:54:11 +05:30
Kishore Nallan
644eefbad3 Handle early import abort gracefully. 2021-10-03 18:26:50 +05:30
Kishore Nallan
51c95dd764 Handle null header in leader curl response. 2021-10-03 17:43:29 +05:30
Kishore Nallan
0ace552ed7 Fix batch indexer shutdown sequence.
Has dependency on server, so must be shut down before.
2021-10-03 15:33:55 +05:30
Kishore Nallan
6da39ff51c Expose write stats. 2021-10-02 18:54:30 +05:30
Kishore Nallan
74f7d829bb Improve override tests + coverage. 2021-10-02 12:16:32 +05:30
Kishore Nallan
4c1dc3a495 Tweak locking for filtering. 2021-10-02 09:15:57 +05:30
Kishore Nallan
947a5019d9 Handle override with synonyms. 2021-10-02 08:07:08 +05:30
Kishore Nallan
36a26f3f40 Rename mutate_query_string -> remove_matched_tokens 2021-09-29 18:25:19 +05:30
Kishore Nallan
68a0e84cc0 Default search latency and rps to 0. 2021-09-29 18:22:12 +05:30
Kishore Nallan
6210e82390 Option to curtail expensive queries. 2021-09-29 11:48:26 +05:30
Kishore Nallan
c0602da4fc Parallelize parts of indexing. 2021-09-27 17:09:35 +05:30
Kishore Nallan
043535ee6b Support array of geo points. 2021-09-24 12:43:26 +05:30
Kishore Nallan
4596ca04c2 URL decode collection name in the API path.
If a collection name with space/special character is created, they can now be acted upon via their URL encoded version.
2021-09-23 13:07:06 +05:30
Kishore Nallan
70059dec15 Dynamic filtering using field interpolation. 2021-09-22 11:46:20 +05:30
Kishore Nallan
71b1a6e7a3 Add tests for collection extraction for auth. 2021-09-21 13:44:15 +05:30
Kishore Nallan
071750c663 Fix collection creation action auth. 2021-09-21 13:12:32 +05:30
Kishore Nallan
e3bf9f02d6 Expose number of pending writes as metric. 2021-09-21 12:04:08 +05:30
Kishore Nallan
39910c872a Capture search related metrics separately. 2021-09-21 11:40:41 +05:30
Kishore Nallan
d75e834ac3 Address warnings. 2021-09-19 21:39:15 +05:30
Kishore Nallan
5b0690fcd8 Allow filtering and deleting using doc IDs. 2021-09-19 18:38:43 +05:30
Kishore Nallan
25d29919ae Multiplex frequency + score based token selection. 2021-09-19 16:31:28 +05:30
Kishore Nallan
fc4da1983d Prevent duplicate searches. 2021-09-18 18:10:44 +05:30
Kishore Nallan
27b392cee9 Exhaustive search should not always be enabled during token drop search. 2021-09-18 15:59:35 +05:30
Kishore Nallan
6621280ffc Don't consider failed imports for progress calculation. 2021-09-14 08:50:06 +05:30
Kishore Nallan
703110264a Dropped tokens should not be prioritized as exact matches. 2021-09-13 16:23:56 +05:30
Kishore Nallan
902704887c Return total_values as part of facet stats, even for strings. 2021-09-10 21:18:21 +05:30
Kishore Nallan
1afa193161 Fix faceting count edge case. 2021-09-10 16:32:22 +05:30
Kishore Nallan
c6fe1369b9 Enable filtering via overrides. 2021-09-08 18:43:45 +05:30
Kishore Nallan
c0fce41c3b Ensure that an import batch cannot contain duplicate doc IDs. 2021-09-07 17:02:58 +05:30
Kishore Nallan
ba67efb7da Support zero weighting for multi-field match scoring. 2021-09-05 14:54:21 +05:30
Kishore Nallan
910256d82c Fix valgrind warnings. 2021-09-05 08:07:00 +05:30
Kishore Nallan
2317c6adb0 Tweak locking for filtering. 2021-09-04 20:01:38 +05:30
Kishore Nallan
4e16dd86e5 Don't attempt to aggregate facets when not requested. 2021-09-04 11:04:27 +05:30
Kishore Nallan
6fc18a0971 Fix test consistency. 2021-09-04 08:53:10 +05:30
Kishore Nallan
48ac6bb82a Weight all components of cross-field match score. 2021-09-03 11:38:46 +05:30
Kishore Nallan
d6e8156973 Fix test again. 2021-09-02 21:11:30 +05:30
Kishore Nallan
266a08c568 Separate candidate limit and combination limit. 2021-09-02 20:49:00 +05:30
Kishore Nallan
75263d52a3 Fix test. 2021-09-02 20:38:31 +05:30
Kishore Nallan
19badcd0cb Move to precise token candidate selection.
No longer approximate.
2021-09-02 17:44:32 +05:30
Kishore Nallan
d4b3d8301e Fix perf in filtering results. 2021-09-01 17:17:55 +05:30
Kishore Nallan
055f2c7695 Fix perf in scoring results. 2021-09-01 15:27:05 +05:30
Kishore Nallan
82514683ba Fix variable init. 2021-08-31 15:49:10 +05:30
Kishore Nallan
7b4450bbf9 Bake concurrency into a single index. 2021-08-31 13:11:50 +05:30
Kishore Nallan
a2a21b3f9f Fix edge case in term typo calculation. 2021-08-30 09:21:15 +05:30
Kishore Nallan
b18e2a41b3 Early exit for exact match calculation based on distance. 2021-08-29 14:36:05 +05:30
Kishore Nallan
adc816e662 Use token separators whule parsing search query as well. 2021-08-28 20:59:05 +05:30