579 Commits

Author SHA1 Message Date
Kishore Nallan
88ec671d65 Option fields can have a null value. 2021-07-14 11:44:00 +05:30
Kishore Nallan
529bb55c5c Make exact match behavior configurable. 2021-07-14 11:44:00 +05:30
Kishore Nallan
09e2e62312 Fixed an edge case of exact match across multiple fields. 2021-07-14 11:44:00 +05:30
Kishore Nallan
27ddda5792 Fix fuzzy search perf regression. 2021-07-14 11:44:00 +05:30
Kishore Nallan
9d08df38cf Fix packing/unpacking of lat lng. 2021-07-14 11:44:00 +05:30
Kishore Nallan
299aea5879 Fix issue with 3-way sort fields. 2021-07-14 11:44:00 +05:30
Kishore Nallan
e0dc73af3e Swap out underlying geo library. 2021-07-14 11:44:00 +05:30
Kishore Nallan
7947130a2f Support resource:* API key permission. 2021-07-14 11:44:00 +05:30
Kishore Nallan
bef4c2ee72 Support use of backticks for wrapping string filter value. 2021-07-14 11:44:00 +05:30
Kishore Nallan
f9a037a4d5 Reduce no-op operations during updates to fix perf. 2021-07-14 11:44:00 +05:30
Kishore Nallan
2f56c1aa5a Server should not be ready during snapshot pull + load. 2021-07-14 11:44:00 +05:30
Kishore Nallan
e6a11f74fc Support exclude filtering for string facets. 2021-07-14 11:44:00 +05:30
Kishore Nallan
25f6fe0614 Prioritize records whose fields match exactly with query. 2021-07-14 11:44:00 +05:30
Kishore Nallan
74bb5f1383 Refactor fuzzy search to address some obscure bugs. 2021-07-14 11:44:00 +05:30
Kishore Nallan
88f0d8b6a4 Merge branch 'postings-refactor' into postings-refactor-integration
# Conflicts:
#	src/index.cpp
2021-07-11 11:43:17 +05:30
Kishore Nallan
d1256a7c27 Prefix match must be differentiated from single typo. 2021-07-08 15:37:52 +05:30
Kishore Nallan
be507205d5 Don't validate the id field. 2021-07-07 20:44:21 +05:30
Kishore Nallan
e256f693f9 Improve multi field typo ranking. 2021-07-06 17:30:46 +05:30
Kishore Nallan
83a0a34c7e Make typo correction less eager. 2021-07-05 22:18:30 +05:30
Kishore Nallan
4d1390ce91 When sorting on geo field, return distance from reference point in response. 2021-07-03 21:05:41 +05:30
Kishore Nallan
40305791f8 Remove deprecated default_resolution config for geo fields. 2021-07-02 10:35:31 +05:30
Kishore Nallan
dfb164234f Ensure that geopoint is validated before indexing. 2021-07-01 21:21:07 +05:30
Kishore Nallan
e9dcafd977 Ensure that overrides and synonyms on disk are deleted during colllection drop. 2021-07-01 19:13:16 +05:30
Kishore Nallan
926a9105d7 Fixed an edge case in collection deletion. 2021-06-30 19:00:00 +05:30
Kishore Nallan
2652751823 Merge branch 'postings-refactor' into postings-refactor-integration
# Conflicts:
#	include/index.h
#	src/posting_list.cpp
#	test/posting_list_test.cpp
2021-06-28 21:05:58 +05:30
Kishore Nallan
d8391ceef9 Separate geo index for every field + proper deletion. 2021-06-26 17:44:14 +05:30
Kishore Nallan
b066909205 Simplify wildcard query result generation. 2021-06-26 15:16:36 +05:30
Kishore Nallan
6486ec0c4e Allow facet query value to contain colon. 2021-06-26 11:09:11 +05:30
Kishore Nallan
a5efcd6897 Fix upsert behavior: should accept only whole documents. 2021-06-25 21:02:33 +05:30
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
55c216d38e Fix intersection on empty posting lists. 2021-06-19 17:12:10 +05:30
Kishore Nallan
19886bb948 Fix intersection on empty posting lists. 2021-06-19 16:52:27 +05:30
Kishore Nallan
6b329a1f38 Fixed an edge case with posting list block merging. 2021-06-19 15:47:16 +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
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