402 Commits

Author SHA1 Message Date
Kishore Nallan
a28ee865bf Fix valgrind warnings. 2022-09-03 19:23:36 +05:30
Kishore Nallan
44edeb8a5e Buffer IDs during filtering. 2022-09-03 18:35:14 +05:30
Kishore Nallan
720855f406 Use cosine similarity as default vector distance. 2022-09-02 17:48:02 +05:30
Kishore Nallan
0edee3ae12 Generify removal of field with different type due to auto schema detection. 2022-09-01 16:23:46 +05:30
Kishore Nallan
943b2ef06f Handle update of field indexed with object value, but later on as string. 2022-09-01 13:47:36 +05:30
Kishore Nallan
914a401312 Resize hnsw graph dynamically. 2022-08-27 18:52:52 +05:30
Kishore Nallan
a98e5bacdd Vector search basics. 2022-08-27 13:47:09 +05:30
Kishore Nallan
63fbf807a9 Enable num_typos for th locale. 2022-08-24 12:45:34 +05:30
Kishore Nallan
848e2138f2 Merge branch 'v0.24-changes' into v0.24-nested 2022-08-17 10:23:11 +05:30
Kishore Nallan
c1aace925c Handle match score not being part of sort fields.
In such a case, match score should not be returned in response.
2022-08-16 18:29:15 +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
6bb2e6e6f8 Fix ordered weighted field index properties. 2022-08-10 20:45:27 +05:30
Kishore Nallan
54ddf63f2e Add test for updates. 2022-08-07 13:28:38 +05:30
Kishore Nallan
869d515688 Handle optional restriction for nested fields. 2022-08-05 19:24:06 +05:30
Kishore Nallan
58bdcc2e6f Merge branch 'v0.24-changes' into v0.24-nested
# Conflicts:
#	src/index.cpp
2022-08-05 14:14:52 +05:30
Kishore Nallan
db3c014463 Implement optional filtering via sort_by clause. 2022-08-04 16:23:29 +05:30
Kishore Nallan
a90bfba930 Multiple explicit nested fields should be allowed. 2022-08-03 18:38:18 +05:30
Kishore Nallan
f86f8b5487 Support nested fields with explicit schema. 2022-08-01 19:44:25 +05:30
Kishore Nallan
0399c1ac72 Handle alter of previously non-indexed field. 2022-07-26 11:06:34 +05:30
Kishore Nallan
be2487b1cc Handle alter of previously non-indexed field. 2022-07-26 11:06:05 +05:30
Kishore Nallan
bef79000e1 Skeleton for nested field indexing and highlighting. 2022-07-25 17:25:49 +05:30
Kishore Nallan
308b34eb9c Provide breakdown of text match score in response. 2022-07-22 17:12:51 +05:30
Kishore Nallan
aa3eddf9f4 Add total matching fields to match score. 2022-07-21 16:02:22 +05:30
Kishore Nallan
59e1fd0e4f Allow exact matches on longer strings.
Earlier, N will become zero so no results will be returned.
2022-07-20 14:02:49 +05:30
Kishore Nallan
bff9585ee7 Ensure that write_log_index is propagated to index threads. 2022-07-20 12:37:27 +05:30
Kishore Nallan
a99dd45bdc Don't consider dynamic field name having .* as a field.
This is to avoid confusion.
2022-07-20 12:02:43 +05:30
Kishore Nallan
e84ac2cdac Handle facet index not being initialized. 2022-07-20 09:03:48 +05:30
Kishore Nallan
5483ae4631 Support both include/exclude + filter by override. 2022-07-12 13:44:05 +05:30
Kishore Nallan
dc15fb6f48 Allow override rules to be processed past the first match. 2022-07-04 17:17:59 +05:30
Kishore Nallan
abdf26c263 Exhaustively search to identify all facets in facet query. 2022-06-28 15:54:26 +05:30
Kishore Nallan
963d9a873c Fix bug with 3 sort fields without text match criteria. 2022-06-27 20:41:18 +05:30
Kishore Nallan
77efb5c0ed Fix field-wise prefix searching edge case. 2022-06-27 15:49:57 +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
0ed59f6230 Extend use of max_candidates to facet searching as well. 2022-06-26 18:07:19 +05:30
Kishore Nallan
623a65c538 Consider cross field matching during token splitting. 2022-06-14 11:17:45 +05:30
Kishore Nallan
a9a2d8cc11 Synonym queries should preserve prefix option. 2022-06-08 14:33:45 +05:30
Kishore Nallan
223b104823 Introduce option to rank text by token position. 2022-06-07 11:00:24 +05:30
Kishore Nallan
0da51cb874 Support sort_by in overrides. 2022-06-05 18:00:41 +05:30
Kishore Nallan
d4cfe81a90 Allow missing values sort config on numerical fields. 2022-05-30 13:33:57 +05:30
Kishore Nallan
43c26b1c7e Retain verbatim match on array. 2022-05-30 07:13:22 +05:30
Kishore Nallan
a409df8dad Fix verbatim match on array. 2022-05-29 19:24:55 +05:30
Kishore Nallan
cf3b28bb77 String sort: allow missing values to be sent to either end. 2022-05-28 17:27:22 +05:30
Kishore Nallan
cf5f71a0ba Don't consider global context for text match in arrays. 2022-05-27 18:34:30 +05:30
Kishore Nallan
9d56608819 Fix quirk in single field prefix searching. 2022-05-27 17:07:27 +05:30
Kishore Nallan
13d0fa12d6 Implement search cutoff for infix searching. 2022-05-27 13:17:42 +05:30
Kishore Nallan
e12711ebf4 Dynamic filtering via overrides should not use typos. 2022-05-25 07:18:23 +05:30
Kishore Nallan
0710addecc Prioritize highlight zone matching over total count. 2022-05-23 07:53:03 +05:30
Kishore Nallan
c72abf89a6 More fixes for prefix expansion. 2022-05-21 20:47:02 +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