183 Commits

Author SHA1 Message Date
Kishore Nallan
3e774e6f77 Merge branch 'v0.24-nested' into v0.25 2023-01-18 10:41:51 +05:30
Kishore Nallan
7d4466c937 Fix preset restoration. 2023-01-17 09:39:59 +05:30
Kishore Nallan
40561b91fa Merge branch 'v0.24-nested' into v0.25 2023-01-11 15:53:45 +05:30
Kishore Nallan
160a91ede7 Fix text match default. 2023-01-11 11:38:28 +05:30
Kishore Nallan
cd5cfc5445 Merge branch 'v0.24-nested' into v0.25
# Conflicts:
#	include/collection.h
#	src/collection.cpp
#	src/collection_manager.cpp
#	src/index.cpp
2023-01-09 16:06:34 +05:30
Kishore Nallan
10fa7a8fa4 Expose match type to API. 2023-01-09 09:24:37 +05:30
Kishore Nallan
c5f8e59b96 Allow API key to be passed via multi_search body. 2023-01-05 18:48:06 +05:30
Kishore Nallan
bc31be874a Add text match modes: max_score and max_weight. 2023-01-04 20:30:30 +05:30
Kishore Nallan
b8b9fb20b3 Merge branch 'v0.24-nested' into v0.25
# Conflicts:
#	include/collection.h
#	src/collection.cpp
#	src/collection_manager.cpp
#	test/collection_faceting_test.cpp
2023-01-03 09:42:21 +05:30
Kishore Nallan
f380bd5fa9 Take care of underlying req being null. 2023-01-02 19:33:43 +05:30
Kishore Nallan
1a66a25e2f Enable slow searches logging by default (30s cutoff) 2023-01-02 18:53:36 +05:30
Kishore Nallan
bf0f7430a0 Allow vector query to pass a document ID. 2023-01-01 18:00:50 +05:30
Kishore Nallan
0e1d70ebf6 Add flag to disable old highlight structure. 2022-12-25 21:04:22 +05:30
Kishore Nallan
7f348250b6 Add guard for really large documents eating memory during load. 2022-12-23 19:44:59 +05:30
Kishore Nallan
df8f6849fe Facet estimation for large result sets. 2022-12-15 16:27:01 +05:30
Krunal Gandhi
2e8ad0f7c3
Range faceting (#823)
* facet range base commit

* ammending range checks to strictly abide to range, ignoring outliers

* range facet query parsing and results

* Making facet processing generic for both
range and non-range facets

* Adding facet parsing tests and bug fixes

* Adding range facet search tests and some refactoring

* Refactoring and adding more tests for seach. adding Range should be continuous check

* Refactoring the code

* making test case asserts more verbose

Co-authored-by: Kishore Nallan <kishorenc@gmail.com>
2022-12-14 15:49:14 +05:30
Kishore Nallan
f455cbc293 Parsed field name in vector query should be trimmed. 2022-12-01 20:25:15 +05:30
Kishore Nallan
cbf5985307 Fix duplication of nested fields during flattening. 2022-11-23 15:08:04 +05:30
Kishore Nallan
f9598dfd55 Ensure that all RocksDB iterators use upper bound.
Without this, unbound iteration was happening on large datasets.
2022-11-17 14:13:08 +05:30
Kishore Nallan
64def55527 Increase default candidates for smaller collections. 2022-11-14 12:51:05 +05:30
Kishore Nallan
088e908576 Fix: restore nested fields on collection restore. 2022-11-08 18:34:28 +05:30
Kishore Nallan
c1e8da040f Increase granularity of locking during collection drop. 2022-11-06 17:34:08 +05:30
Kishore Nallan
81b6712296 Fix highlighting for fields with dot in their names. 2022-10-31 13:07:09 +05:30
Kishore Nallan
4808d1610a Flat search cutoff for vector search. 2022-10-19 13:48:07 +05:30
Kishore Nallan
c8afd1e7c6 Use k value from vector query params. 2022-09-17 16:00:56 +05:30
Kishore Nallan
49268d648e Persist vector field properties and restore. 2022-09-15 17:32:17 +05:30
Kishore Nallan
a98e5bacdd Vector search basics. 2022-08-27 13:47:09 +05:30
Kishore Nallan
d748c90b4b Merge branch 'v0.24-changes' into v0.24-nested
# Conflicts:
#	include/collection.h
#	src/collection.cpp
#	test/collection_specific_more_test.cpp
2022-08-13 19:03:03 +05:30
Kishore Nallan
dfa7191f32 Fix collection drop induced write latency.
- Use upper bound on batch index iterator to skip tombstones on next()
- Use batch range delete which is more efficient
2022-08-09 18:21:28 +05:30
Kishore Nallan
134af13281 By default, don't enable nested fields. 2022-08-07 17:36:28 +05:30
Kishore Nallan
a90bfba930 Multiple explicit nested fields should be allowed. 2022-08-03 18:38:18 +05:30
Kishore Nallan
4c6eac9840 Allow cloning of collection & assets from a reference collection. 2022-08-02 18:02:23 +05:30
Kishore Nallan
bb5d6a308d Finer locking during collection creation. 2022-07-19 16:33:27 +05:30
Kishore Nallan
2e3bbca1b8 Fix symbols not being supported in synonyms. 2022-07-14 16:14:35 +05:30
Kishore Nallan
f5808532fa Allow split join tokens to be configured in always mode.
Default remains as fallback.
2022-06-26 19:55:00 +05:30
Kishore Nallan
223b104823 Introduce option to rank text by token position. 2022-06-07 11:00:24 +05:30
Kishore Nallan
d935cb4041 Fix proper prefix expansion. 2022-05-19 16:12:33 +05:30
Kishore Nallan
0e2257dc29 Fix max_candidates behavior. 2022-05-13 17:41:11 +05:30
Kishore Nallan
b6908f2f81 Add test for missing fields property in schema change. 2022-04-30 19:19:25 +05:30
Kishore Nallan
f92b8f59bb Handle max candidates independent of exhaustive search. 2022-04-10 20:53:41 +05:30
Kishore Nallan
a5b06a0e0d Schema change basics. 2022-03-26 08:22:40 +05:30
Kishore Nallan
66cb71039f Do drop tokens at a global level. 2022-03-23 18:53:48 +05:30
Kishore Nallan
787130cd06 Fix num_typos configuration parsing. 2022-03-17 14:18:39 +05:30
Kishore Nallan
05538e5873 Fix highlighting regression. 2022-03-15 10:49:34 +05:30
Kishore Nallan
39f12edd3d Add override level option to filter curated hits. 2022-03-13 20:53:38 +05:30
Kishore Nallan
9197627e81 Add option to filter curated hits. 2022-03-11 20:52:22 +05:30
Kishore Nallan
d0a0597fcb Parameterize facet query num typos. 2022-03-10 19:05:30 +05:30
Kishore Nallan
7cc533ff8d Refactor search API parameter parsing. 2022-03-10 17:22:45 +05:30
Kishore Nallan
31c8a030c7 Handle per-search API key for multi search. 2022-02-25 21:19:24 +05:30
Kishore Nallan
3f8135d4b0 Tweak error message. 2022-02-20 17:32:04 +05:30