1142 Commits

Author SHA1 Message Date
Kishore Nallan
d54957c0c6 Simplify posting list offset storage and extraction. 2021-06-20 09:11:35 +05:30
Kishore Nallan
325c8ef103 Fix single list block intersection. 2021-06-19 20:18:07 +05:30
Kishore Nallan
19886bb948 Fix intersection on empty posting lists. 2021-06-19 16:52:27 +05:30
Kishore Nallan
b5374eae1e Fixed an edge case with posting list block merging. 2021-06-19 15:46:25 +05:30
Kishore Nallan
e42acc4307 Merge branch 'postings-refactor' into postings-refactor-integration
# Conflicts:
#	src/index.cpp
2021-06-18 20:34:56 +05:30
Kishore Nallan
876f0f64dc Support not equals on boolean filds. 2021-06-18 20:14:36 +05:30
Kishore Nallan
ba9a5e65d1 Disallow empty filter values + add bounds checks. 2021-06-18 18:07:40 +05:30
Kishore Nallan
aca74c6295 Use != as negation operation to cope with numbers also. 2021-06-18 17:27:33 +05:30
Kishore Nallan
551e5b0bf1 Fix edge case in NOT_EQUALS filtering.
When no results are found at all prior to negation, no results were being returned, when everything should be returned.
2021-06-18 16:25:29 +05:30
Kishore Nallan
929b6796cc Posting list integration. 2021-06-18 12:52:06 +05:30
Kishore Nallan
ed8271b0c3 Add test for numerical range filtering. 2021-06-18 08:56:37 +05:30
Kishore Nallan
1dd61e62db Allow field highlighting independent of query_by fields. 2021-06-17 18:24:11 +05:30
Kishore Nallan
7602df1877 Disallow primary key value being created as a custom key. 2021-06-17 14:03:40 +05:30
Kishore Nallan
3efe062d63 Fix queries with hyphens not matching indexed text. 2021-06-17 12:28:00 +05:30
Kishore Nallan
8f1abc495e Helper for fetching array token positions. 2021-06-16 21:03:02 +05:30
Kishore Nallan
3a7109c1a4 Drop back to compact list only based on storage length. 2021-06-16 17:56:47 +05:30
Kishore Nallan
0509dce2c4 Refactor block insertor. 2021-06-16 12:25:38 +05:30
Kishore Nallan
219446e9e9 Fix compact positing list capacity expansion. 2021-06-16 09:59:16 +05:30
Kishore Nallan
be44d92539 Fix block intersection contination. 2021-06-15 21:05:52 +05:30
Kishore Nallan
c9fd7bc506 Add contains one helper for posting list. 2021-06-15 19:44:43 +05:30
Kishore Nallan
93261178a9 Add contains for posting list. 2021-06-15 13:02:14 +05:30
Kishore Nallan
267aabb701 Posting list merge. 2021-06-15 08:42:23 +05:30
Kishore Nallan
34ad1747e1 Posting list: split up intersection and offset compute. 2021-06-14 20:47:30 +05:30
Kishore Nallan
fcbca97f5f Improve posting list cached ids decompression. 2021-06-13 17:21:10 +05:30
Kishore Nallan
20e2edf936 Wrapper for positing list intersection. 2021-06-13 09:51:46 +05:30
Kishore Nallan
e200f1500d Disallow use of type auto for a non-wildcard containing field. 2021-06-12 16:18:29 +05:30
Kishore Nallan
0716da0057 Validate against empty synonym string. 2021-06-11 20:56:48 +05:30
Kishore Nallan
0d5eef664e Ability to disable overrides. 2021-06-11 20:29:21 +05:30
Kishore Nallan
b141e01b1b Field level prefix configuration. 2021-06-11 19:00:11 +05:30
Kishore Nallan
a7db88c27e Track num ids of posting lists. 2021-06-11 13:49:31 +05:30
Kishore Nallan
e695ba65c8 Add a few locale tokenization tests. 2021-06-09 20:20:01 +05:30
Kishore Nallan
8a43fa8b88 Allow search query to be pre-segmented. 2021-06-07 21:43:28 +05:30
Kishore Nallan
066dae9a16 Implement exclude_radius option for geopoint sorting. 2021-06-07 08:44:20 +05:30
Kishore Nallan
8726e27718 Support Chinese locale. 2021-06-06 22:03:02 +05:30
Kishore Nallan
d5655809ac Test for verifying that unindexed field is upserted.
♥ SSK.
2021-06-06 15:42:01 +05:30
Kishore Nallan
894b667d78 Test for implicit text match sort field as last param. 2021-06-02 13:59:32 +05:30
Kishore Nallan
56d3a26cc5 Imporve prefix searching on ko locale. 2021-05-31 19:47:12 +05:30
Kishore Nallan
bcdd33237f Minor cleanup. 2021-05-31 12:19:52 +05:30
Kishore Nallan
8e4fc412b1 Retry parsing of nodes config: helps DNS resolution lag. 2021-05-30 20:48:44 +05:30
Kishore Nallan
6e4ecd409c In place updates for posting list. 2021-05-30 19:54:22 +05:30
Kishore Nallan
d6d83ec3ed Resolve hostnames in nodes config to IP automatically. 2021-05-29 20:54:53 +05:30
Kishore Nallan
e9f89f4bb7 Compact posting list structure. 2021-05-29 16:16:41 +05:30
Kishore Nallan
24b1c8d3fa Merge branch '0.21.0-rc' into postings-refactor 2021-05-28 18:00:11 +05:30
Kishore Nallan
8d6742fc6d Normalize ascii tokens intermixed with non-english text. 2021-05-28 14:04:10 +05:30
Kishore Nallan
1848feb6d2 Block based posting list intersection. 2021-05-24 19:02:36 +05:30
Kishore Nallan
8b24fe82b8 Basics of a block based posting list container. 2021-05-22 15:05:46 +05:30
Kishore Nallan
b817e615cb Ensure floating point precision is correct when faceted. 2021-05-21 19:01:39 +05:30
Kishore Nallan
9e43a5b0e5 Validate API key description during creation. 2021-05-20 15:00:51 +05:30
Kishore Nallan
a0da8929cd When key not found during deletion, return 404 and not 500. 2021-05-20 14:53:07 +05:30
Kishore Nallan
e3a5c3d9aa Fix highlight edge case: random first token highlight. 2021-05-20 11:12:27 +05:30