661 Commits

Author SHA1 Message Date
Kishore Nallan
1fa2193c50 Configurable 1-typo and 2-typo min token lengths. 2021-10-04 18:18:05 +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
70059dec15 Dynamic filtering using field interpolation. 2021-09-22 11:46:20 +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
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
c6fe1369b9 Enable filtering via overrides. 2021-09-08 18:43:45 +05:30
Kishore Nallan
2317c6adb0 Tweak locking for filtering. 2021-09-04 20:01:38 +05:30
Kishore Nallan
266a08c568 Separate candidate limit and combination limit. 2021-09-02 20:49:00 +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
b18e2a41b3 Early exit for exact match calculation based on distance. 2021-08-29 14:36:05 +05:30
Kishore Nallan
9659d60047 Exhaustive search should ignore typo and drop token thresholds. 2021-08-28 19:33:40 +05:30
Kishore Nallan
07d838e385 Make symbols for indexing and segmentation configurable. 2021-08-26 10:27:18 +05:30
Kishore Nallan
d4bd6e67e5 Further tweak exact match logic. 2021-08-22 15:47:21 +05:30
Kishore Nallan
2df55e7991 Fix exact value matching. 2021-08-22 13:45:26 +05:30
Kishore Nallan
ced4163062 Handle stack trace on batched indexing. 2021-08-22 08:43:32 +05:30
Kishore Nallan
76915eed20 Speed up exact matching on single tokens. 2021-08-19 16:43:53 +05:30
Kishore Nallan
793e21a1c2 Ensure that search does not fetch existing tokens. 2021-08-18 18:51:39 +05:30
Kishore Nallan
0e2adb4242 Copy-free intersect + score. 2021-08-17 18:37:42 +05:30
Kishore Nallan
22670b1342 Skip offset compute for non-exact single token. 2021-08-13 16:22:57 +05:30
Kishore Nallan
b24df3c26a Allow read/write lags to be updated via config API. 2021-08-11 20:28:47 +05:30
Kishore Nallan
a890d036ed Account for queued writes when computing read+write lags. 2021-08-11 18:18:49 +05:30
Kishore Nallan
26351a6984 Change default value of typo/drop tokens threshold to 1. 2021-08-11 14:20:28 +05:30
Kishore Nallan
8c46fed1b4 Return error if import is attempted on unsupported curl version. 2021-08-10 20:55:37 +05:30
Kishore Nallan
7703939430 Parameterize combination limit for more exhaustive searching. 2021-08-07 18:13:29 +05:30
Kishore Nallan
27ebae1f88 Address valgrind warnings. 2021-08-06 17:09:28 +05:30
Kishore Nallan
35409f8493 Batched background indexer.
Enables write parallelism across collections.
2021-07-31 21:44:06 +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
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
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