1018 Commits

Author SHA1 Message Date
Kishore Nallan
774f3d3ce3 Move facet tokens and groups to separate maps.
This speeds up faceting and reduces memory footprint during faceting.
2021-11-18 12:38:12 +05:30
Kishore Nallan
58f3d4bf66 Handle null-value updates + errors during indexing. 2021-11-17 13:23:42 +05:30
Kishore Nallan
24cce48bc2 Support use of strict equals + backtick on ID field. 2021-11-13 16:11:47 +05:30
Kishore Nallan
13d4c14889 Fix exact matching regression. 2021-11-13 10:51:50 +05:30
Kishore Nallan
06dc53dcf2 Allow optional fields to be updated with null value. 2021-11-12 20:03:00 +05:30
Kishore Nallan
14f4c3e834 Field wise indexing. 2021-11-11 19:11:06 +05:30
Kishore Nallan
c33a8fad19 Fix exact filtering edge cases. 2021-11-05 11:29:24 +05:30
Kishore Nallan
549d1a7da3 Allow wildcard field to be non-indexable.
Also ensure facet: true not allowed when index: false.
2021-11-03 19:51:11 +05:30
Kishore Nallan
a3def7dc5b Simplify facet value filtering. 2021-11-02 16:43:28 +05:30
Kishore Nallan
3eed0d509e Allow highlighting to be skipped via non-indexed field. 2021-10-30 11:54:19 +05:30
Kishore Nallan
4844f19c50 Fixed an edge case in highlight of prefix. 2021-10-29 19:35:06 +05:30
Kishore Nallan
62be28b5c3 Use token separators and symbols during filtering. 2021-10-29 15:59:06 +05:30
Kishore Nallan
ba91e69c04 Proper error in API response when GET query > 4K chars. 2021-10-27 21:20:31 +05:30
Kishore Nallan
ebbab76a43 Gracefully quit during loading on signal. 2021-10-20 21:24:12 +05:30
Kishore Nallan
20c7705e61 Fix conversion to full posting list.
Ensure length never overflows max capacity threshold.
2021-10-18 21:49:50 +05:30
Kishore Nallan
b82b4a5bce Make remove_matched_tokens: true by default. 2021-10-13 12:42:43 +05:30
Kishore Nallan
c2eb31d33b Support highlighting in dynamic filter query. 2021-10-13 12:37:57 +05:30
Kishore Nallan
0591fd508c Handle missing field when dynamic filtering is used. 2021-10-13 11:14:58 +05:30
Kishore Nallan
26fbad2c66 Return token separators and symbols to index in API. 2021-10-12 16:10:37 +05:30
Kishore Nallan
82f8d2895d Add test for regexp field name + empty array. 2021-10-12 12:57:42 +05:30
Kishore Nallan
c1a1d883b0 Null values must not be indexed for auto/string* fields. 2021-10-10 07:32:00 +05:30
Kishore Nallan
f9446841ed Accept null for field type auto and string* 2021-10-09 20:48:41 +05:30
Kishore Nallan
4a3d2cc209 Allow indexing of null values for auto/string* fields. 2021-10-09 18:14:19 +05:30
Kishore Nallan
a365bf9677 Refactor type detection logic for auto/string* fields. 2021-10-09 17:22:01 +05:30
Kishore Nallan
87f18b03f3 Address concurrency edge case in import streaming.
Manage concurrent access by the req/res variables between batch indexer and http response threads.
2021-10-07 19:38:54 +05:30
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
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
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
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
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
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
27b392cee9 Exhaustive search should not always be enabled during token drop search. 2021-09-18 15:59:35 +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