1882 Commits

Author SHA1 Message Date
Kishore Nallan
a10cf167ca Fix edge case for facet counts with empty strings in array. 2022-12-21 14:39:06 +05:30
Kishore Nallan
61beb7f317 Terminate batch indexing iter early on resource exhaustion. 2022-12-20 17:48:59 +05:30
Kishore Nallan
f4b8b4c627 Fix symbols_to_index key in response. 2022-12-19 17:25:55 +05:30
Kishore Nallan
644677d522 Fix synonym symbols view rendering issue. 2022-12-15 17:45:56 +05:30
Kishore Nallan
5ba38ad08b Use double for disk usage threshold. 2022-12-13 14:52:02 +05:30
Kishore Nallan
950049abfe Log resource stats when write is rejected for resource exhaustion. 2022-12-13 11:50:37 +05:30
Kishore Nallan
e3dee78a1b Add resource check to batch indexer as well. 2022-12-10 19:21:54 +05:30
Kishore Nallan
8be1f33f38 More aggressive info log pruning for RocksDB. 2022-12-09 07:45:05 +05:30
Kishore Nallan
a6fbd8868c API for compacting DB. 2022-12-08 16:00:24 +05:30
Kishore Nallan
6dc2df2376 Don't trim when splitting POST body. 2022-12-08 13:09:58 +05:30
Kishore Nallan
cd234c3062 Disable bucketing if not enough results are found. 2022-12-07 20:22:23 +05:30
Kishore Nallan
5332d77710 Fix typo/prefix regression with weights. 2022-12-07 11:32:10 +05:30
Kishore Nallan
4651b9a6fd Fix phrase match + match scores for offset wrap around. 2022-12-06 20:16:38 +05:30
Kishore Nallan
f455cbc293 Parsed field name in vector query should be trimmed. 2022-12-01 20:25:15 +05:30
Kishore Nallan
b911766379 Implement search cutoff during intersection. 2022-11-30 15:37:12 +05:30
Kishore Nallan
71260ea2f0 Fix offset wrap around in match score. 2022-11-30 15:35:29 +05:30
Kishore Nallan
856ad0efe5 Fix new snippetting on flat fields. 2022-11-25 18:50:05 +05:30
Kishore Nallan
ec7658ff0f Add test for schema alter for geo field. 2022-11-24 19:56:21 +05:30
Kishore Nallan
44186611ae Handle vector value being null. 2022-11-24 11:51:40 +05:30
Kishore Nallan
cbf5985307 Fix duplication of nested fields during flattening. 2022-11-23 15:08:04 +05:30
Kishore Nallan
4e7c5560aa Handle missing optional object fields. 2022-11-19 08:49:11 +05:30
Kishore Nallan
ad4ef33fa2 Fix another exact filter match on array edge case. 2022-11-18 18:22:56 +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
9277e6f498 Return error when object type is used without enabling nested fields. 2022-11-15 20:48:16 +05:30
Kishore Nallan
83495c817b Guard for preventing writes when memory/disk thresholds are breached. 2022-11-15 20:25:45 +05:30
Kishore Nallan
64def55527 Increase default candidates for smaller collections. 2022-11-14 12:51:05 +05:30
Kishore Nallan
23bd0af779 Simplify nested highlighting format. 2022-11-11 19:01:41 +05:30
Kishore Nallan
cc6229c4ef Add test for empty/wildcard override distinction. 2022-11-09 15:25:14 +05:30
Kishore Nallan
5292956718 Fix highlight meta structure. 2022-11-09 12:41:40 +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
7aa7543dae Speed up vector indexing.
Parallelize inserts + remove sort/filter indices for vector field.
2022-11-03 15:36:00 +05:30
Kishore Nallan
b8c11341c7 Bump HNSW dep: fixes early truncation of results. 2022-11-02 14:39:14 +05:30
Kishore Nallan
4212a107ed Ensure that detected nested fields inherit field properties. 2022-11-01 17:19:45 +05:30
Kishore Nallan
c87e0ddf9d Highlight meta should follow nested doc structure. 2022-10-31 16:19:51 +05:30
Kishore Nallan
22744b253f Copy only highlighted fields into snippet doc. 2022-10-31 15:04:41 +05:30
Kishore Nallan
81b6712296 Fix highlighting for fields with dot in their names. 2022-10-31 13:07:09 +05:30
Kishore Nallan
fe4a81d2da Wrap embedded param filter with () for better exclusivity. 2022-10-30 15:37:51 +05:30
Kishore Nallan
eeda046561 Remove stray logging. 2022-10-25 17:58:00 +05:30
Kishore Nallan
ae49dab8fd Vector flat search: handle missing values. 2022-10-21 16:42:23 +05:30
Kishore Nallan
790fac008b Optimize numerical filter ID consolidation. 2022-10-20 15:42:39 +05:30
Kishore Nallan
4808d1610a Flat search cutoff for vector search. 2022-10-19 13:48:07 +05:30
Harpreet Sangar
9651c1abdf
Add Tokenize test. (#756)
* Add Tokenize test.

* Add Tokenize test case.

* Review changes.
2022-10-18 12:07:39 +05:30
Kishore Nallan
ff8fbc0642 Fix an issue with multi-field phrase matching. 2022-10-18 11:49:35 +05:30
Jason Bosco
61986e700a
Tweaks to get docker build to work on Apple Silicon machines (#745)
* Update SHOWCASE.md (#661)

* Update README.md (#670)

* Update README.md

* Update README.md

* Update README.md

* Specify `--platform` explicitly in Docker build commands, so that Docker uses the intended platform on Apple Silicon machines.

* Added image for CLion docker-based remote build env

* Port map 8108

* Compile gdb with python support, so stl container values are shown when debugging in CLion

Co-authored-by: Ray Jasson <48130098+rayjasson98@users.noreply.github.com>
Co-authored-by: rzrymiak <106121613+rzrymiak@users.noreply.github.com>
2022-10-18 08:33:51 +05:30
Kishore Nallan
10ad8162b6 Fix repeating tokens in phrase search. 2022-10-17 16:15:37 +05:30
Kishore Nallan
67f45d8813 Fix regression: allow include/exclude of stored fields. 2022-10-15 18:27:44 +05:30
Kishore Nallan
643ba73ec7 Fix edge case with field names containing dots.
Should not be treated as nested fields.
2022-10-15 17:34:05 +05:30
Kishore Nallan
374cb6948b Reclaim deleted memory on vector insert. 2022-10-11 16:25:13 +05:30
Harpreet Sangar
f75cbca920
Filter query (#737)
* Implement advance filter query parser.

* Remove `exclude_filters`.

* Review changes

* Implement do_filtering2

* Use updated implementation

* Pass failing tests.

* Handle special characters in value.

* Add space around  in embedded filters

* Update tokenize

* Rename to `recursive_filtering`

* Deconstruct filter tree.

* Remove separating space requirement for operators

* Fix rebase errors.

* Undo filter override change

* Format changes

* Pass StaticFilteringMultipleRuleMatch

* Undo formatting changes

* Pass DynamicFilteringMultipleRuleMatch

* Review changes.

* Add filter_query guard.
2022-10-11 11:21:20 +05:30