32 Commits

Author SHA1 Message Date
Kishore Nallan
26e3407d1d Add guards for filter node. 2023-02-26 19:58:24 +05:30
Kishore Nallan
eabea8f248 Handle geopoint inside nested array of objects. 2023-02-07 20:11:40 +05:30
Kishore Nallan
0579398993 Allow null values for optional nested fields. 2023-02-05 10:58: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
9277e6f498 Return error when object type is used without enabling nested fields. 2022-11-15 20:48:16 +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
4212a107ed Ensure that detected nested fields inherit field properties. 2022-11-01 17:19:45 +05:30
Kishore Nallan
81b6712296 Fix highlighting for fields with dot in their names. 2022-10-31 13:07:09 +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
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
Kishore Nallan
d2daad2c3d Basic alter support for nested fields.
No longer storing .flat inside the document.
2022-09-13 14:47:17 +05:30
Kishore Nallan
dff7f8b746 Don't persist flattened nested field values on disk.
Instead, we will reconstruct them when we fetch them from disk, trading cpu for storage.
2022-09-12 15:04:12 +05:30
Kishore Nallan
aeb4424662 Better error messages for nested field type mismatch. 2022-09-11 18:53:14 +05:30
Kishore Nallan
720855f406 Use cosine similarity as default vector distance. 2022-09-02 17:48:02 +05:30
Kishore Nallan
a98e5bacdd Vector search basics. 2022-08-27 13:47:09 +05:30
Kishore Nallan
84f5c4cd72 Force geopoint field to be sortable when schema is created. 2022-08-18 11:16:54 +05:30
Kishore Nallan
9b4fb12729 Explicitly dot separated fields should have precedence. 2022-08-08 12:18:16 +05:30
Kishore Nallan
869d515688 Handle optional restriction for nested fields. 2022-08-05 19:24:06 +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
bef79000e1 Skeleton for nested field indexing and highlighting. 2022-07-25 17:25:49 +05:30
Kishore Nallan
c481920979 Take care of empty filter value in filter by id. 2022-05-18 16:16:22 +05:30
Kishore Nallan
5b462f5233 Drop/readd within same schema change set. 2022-04-14 12:23:38 +05:30
Kishore Nallan
a5b06a0e0d Schema change basics. 2022-03-26 08:22:40 +05:30
Kishore Nallan
254abbfdbc Don't require facet index for not equals. 2022-03-19 20:30:38 +05:30
Kishore Nallan
76460589fa Fix geo sorting options + handle space around unit. 2022-01-09 08:17:46 +05:30
Kishore Nallan
24cce48bc2 Support use of strict equals + backtick on ID field. 2021-11-13 16:11:47 +05:30
Kishore Nallan
a3def7dc5b Simplify facet value filtering. 2021-11-02 16:43:28 +05:30
Kishore Nallan
dbb688254e Fix edge case with ID-based filtering.
When no IDs match, no results should be found.
2021-10-04 13:54:11 +05:30
Kishore Nallan
947a5019d9 Handle override with synonyms. 2021-10-02 08:07:08 +05:30
Kishore Nallan
70059dec15 Dynamic filtering using field interpolation. 2021-09-22 11:46:20 +05:30