1288 Commits

Author SHA1 Message Date
Kishore Nallan
7703939430 Parameterize combination limit for more exhaustive searching. 2021-08-07 18:13:29 +05:30
Kishore Nallan
55535198a4 Prefix search to be used only for last token. 2021-08-07 13:12:06 +05:30
Kishore Nallan
27ebae1f88 Address valgrind warnings. 2021-08-06 17:09:28 +05:30
Kishore Nallan
b5e3a28ace More fixes for highlighting. 2021-08-05 21:31:04 +05:30
Kishore Nallan
3abb3896fb Bug: use resize instead of reserve. 2021-08-05 21:03:21 +05:30
Kishore Nallan
eedf791a8d Reduce logging. 2021-08-01 19:20:26 +05:30
Kishore Nallan
35409f8493 Batched background indexer.
Enables write parallelism across collections.
2021-07-31 21:44:06 +05:30
Kishore Nallan
dedb6669c8 Upgrade RocksDB. 2021-07-31 21:38:45 +05:30
Kishore Nallan
cf96d9fee3 Disable TLS for glog as workaround for a bug.
See: https://github.com/google/glog/issues/409
2021-07-31 21:38:28 +05:30
Kishore Nallan
261536d0f4 Merge branch '0.22.0-rc' into postings-refactor-integration
# Conflicts:
#	src/collection.cpp
#	src/index.cpp
#	test/collection_specific_test.cpp
2021-07-31 21:35:30 +05:30
Kishore Nallan
b2c12a9b2c Fix more edge cases in highlighting. 2021-07-31 08:59:49 +05:30
Kishore Nallan
331db4f27e Add precision option to geo field sorting. 2021-07-27 19:57:56 +05:30
Kishore Nallan
13cb7b9364 Revert "Highlight field value that is a prefix of the query."
This reverts commit 545027a59bc55b24c2fece112b4fa6a655a1f79e.

# Conflicts:
#	test/collection_specific_test.cpp
2021-07-27 17:57:49 +05:30
Kishore Nallan
b4c222064c Handle bad data in ingestion text gracefully. 2021-07-26 19:44:38 +05:30
Kishore Nallan
e45f18785f Ignore id field present in schema. 2021-07-26 19:44:10 +05:30
Kishore Nallan
38d44a7c8a Highlight field value that is a prefix of the query. 2021-07-26 15:33:03 +05:30
Kishore Nallan
41c16fb7a7 Merge branch '0.22.0-rc' into postings-refactor-integration
# Conflicts:
#	include/index.h
#	include/posting.h
#	include/posting_list.h
#	src/art.cpp
#	src/collection.cpp
#	src/index.cpp
#	src/posting.cpp
#	src/posting_list.cpp
#	test/art_test.cpp
#	test/collection_specific_test.cpp
#	test/collection_test.cpp
#	test/posting_list_test.cpp
2021-07-24 17:10:54 +05:30
Kishore Nallan
89a509513a Ensure that weights can fully control cross-field matching. 2021-07-24 15:08:08 +05:30
Kishore Nallan
e42f78a695 Fix single character full field value highlight. 2021-07-21 19:26:09 +05:30
Kishore Nallan
672c895805 Typo and drop tokens thresholds must be applied independently. 2021-07-16 13:39:52 +05:30
Kishore Nallan
0ae718d067 Use all candidates of a given num_typo value.
Typo tokens threshold should not trigger when we have explored only some of the candidates of a given num_typo value.
2021-07-16 12:07:44 +05:30
Kishore Nallan
bfb122bfec Repeating tokens in an array: fix relevancy. 2021-07-15 15:58:55 +05:30
Kishore Nallan
21fd7f8e33 Update README 2021-07-14 11:45:26 +05:30
Kishore Nallan
a062dbbb3f Fix peering address environment variable assignment. 2021-07-14 11:44:01 +05:30
Kishore Nallan
56247ce6ac Prefix match must be differentiated from single typo. 2021-07-14 11:44:01 +05:30
Kishore Nallan
53ad55ae18 Fix cpu usage metric. 2021-07-14 11:44:01 +05:30
Kishore Nallan
614f7a9f61 Don't validate the id field. 2021-07-14 11:44:01 +05:30
Kishore Nallan
184ed43727 Improve multi field typo ranking. 2021-07-14 11:44:01 +05:30
Kishore Nallan
9dd3ba9d6d Make typo correction less eager. 2021-07-14 11:44:01 +05:30
Kishore Nallan
967ee273d9 Fix rocksdb compilation. 2021-07-14 11:44:01 +05:30
Kishore Nallan
d8cca1e200 Add total rps to app metrics. 2021-07-14 11:44:01 +05:30
Kishore Nallan
091080985f When sorting on geo field, return distance from reference point in response. 2021-07-14 11:44:01 +05:30
Kishore Nallan
0b28e9dc2c Remove deprecated default_resolution config for geo fields. 2021-07-14 11:44:01 +05:30
Kishore Nallan
994f5021e6 Ensure that geopoint is validated before indexing. 2021-07-14 11:44:01 +05:30
Kishore Nallan
d840a88020 Ensure that overrides and synonyms on disk are deleted during colllection drop. 2021-07-14 11:44:01 +05:30
Kishore Nallan
ba212a4c4e Fixed an edge case in collection deletion. 2021-07-14 11:44:01 +05:30
Kishore Nallan
10efdea611 Allow filtering in export end-point. 2021-07-14 11:44:01 +05:30
Kishore Nallan
76a8b8770e Fix bug in delete by query log replay. 2021-07-14 11:44:01 +05:30
Kishore Nallan
56bbf8df26 Separate geo index for every field + proper deletion. 2021-07-14 11:44:01 +05:30
Kishore Nallan
a247a79a80 Clean up after delete by query is done. 2021-07-14 11:44:01 +05:30
Kishore Nallan
e4936a9f1a Simplify wildcard query result generation. 2021-07-14 11:44:01 +05:30
Kishore Nallan
d1d8733968 Allow facet query value to contain colon. 2021-07-14 11:44:01 +05:30
Kishore Nallan
5cbf810fe5 Fix upsert behavior: should accept only whole documents. 2021-07-14 11:44:01 +05:30
Kishore Nallan
315d4d0aed Fix intersection on empty posting lists. 2021-07-14 11:44:01 +05:30
Kishore Nallan
3428a740b6 Fixed an edge case with posting list block merging. 2021-07-14 11:44:01 +05:30
Kishore Nallan
6b41c3bf29 Support not equals on boolean filds. 2021-07-14 11:44:01 +05:30
Kishore Nallan
f9c9c56c89 Disallow empty filter values + add bounds checks. 2021-07-14 11:44:01 +05:30
Kishore Nallan
a66123f961 Use != as negation operation to cope with numbers also. 2021-07-14 11:44:01 +05:30
Kishore Nallan
9015575ac8 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-07-14 11:44:01 +05:30
Kishore Nallan
5377d25152 Add test for numerical range filtering. 2021-07-14 11:44:01 +05:30