649 Commits

Author SHA1 Message Date
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
Kishore Nallan
53ad55ae18 Fix cpu usage metric. 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
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
10efdea611 Allow filtering in export end-point. 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
5cbf810fe5 Fix upsert behavior: should accept only whole documents. 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
dbeb00debe Allow field highlighting independent of query_by fields. 2021-07-14 11:44:01 +05:30
Kishore Nallan
72a240888e Disallow primary key value being created as a custom key. 2021-07-14 11:44:01 +05:30