Harpreet Sangar
bb1c72a8f4
Persist reference
field property.
2023-01-16 19:21:17 +05:30
Harpreet Sangar
56d382d1e0
Add reference in field struct.
2023-01-16 13:39:17 +05:30
Kishore Nallan
f6445a0314
Handle preset at the level of each multi search element.
2023-01-15 21:06:10 +05:30
Harpreet Sangar
d7ff4bdc0e
Support wildcard. ( #852 )
...
* Support wildcard.
* Add test case for `query_by=user.*`
* Remove duplicate.
* Add WildcardHighlightFields test.
* Add WildcardHighlightFullFields test.
* Review changes.
2023-01-11 20:30:07 +05:30
Kishore Nallan
eda8f2f0f2
Merge branch 'v0.24-nested' into v0.25
...
# Conflicts:
# include/collection.h
# src/collection.cpp
2023-01-10 17:08:22 +05:30
Kishore Nallan
e4f3090f5f
Tweak synonym test to directly add syn json.
2023-01-10 17:02:43 +05:30
Kishore Nallan
502e7503b3
Fix include/exclude fields in export for nested docs.
...
# Conflicts:
# include/collection.h
# src/collection.cpp
2023-01-10 16:45:51 +05:30
Kishore Nallan
8b69d524ba
Fix include/exclude fields in export for nested docs.
2023-01-10 16:17:41 +05:30
Kishore Nallan
b430e7fa9a
Fix test on Clang.
2023-01-09 16:38:17 +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
3d033d1ae9
Flat fields must not be returned in nested fields with include fields.
2023-01-09 15:47:23 +05:30
Kishore Nallan
0fc0f80d21
Parse text match info based on match type.
2023-01-09 13:16:30 +05:30
Harpreet Sangar
37d3d6b256
Support wildcard facet_by
. ( #850 )
...
* Support wildcard `facet_by`.
* Only trim `*` from wildcard `facet_by`.
* Add test for nested wildcard faceting.
* Nested fields also match `company*`.
2023-01-09 12:45:59 +05:30
Kishore Nallan
44d489ed54
Fix synonym loading regression.
2023-01-06 20:52:05 +05:30
Harpreet Sangar
5f034f8b3b
Update documents using filter_by
. ( #845 )
...
* Update documents.
* Return number of documents updated in the response.
* Update test.
* Use `add_many` to update documents.
* Test batching of updation.
* Support updation of all documents by `filter_by=*`.
* Update test to work on schema with nesting enabled.
* Fix memory leak.
* Add nested field updation test.
* Remove iterator key comparison.
2023-01-06 12:36:56 +05:30
Kishore Nallan
c2a23a3deb
Fix test.
2023-01-05 19:33:54 +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
679a6cc62f
Fix k
value for id based vector search.
2023-01-05 14:08:46 +05:30
Kishore Nallan
bc31be874a
Add text match modes: max_score and max_weight.
2023-01-04 20:30:30 +05:30
Kishore Nallan
b0fe6284f5
Fix test.
2023-01-03 11:24:46 +05:30
Kishore Nallan
5c75d1553a
Merge branch 'bazel-build' into v0.25
2023-01-03 11:02:09 +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
bf0f7430a0
Allow vector query to pass a document ID.
2023-01-01 18:00:50 +05:30
Harpreet Sangar
34b16cdb21
Add !=
compatibility for numeric type. ( #835 )
...
* Add `!=` compatibility for numeric type.
* Add `numeric_not_equals_filter` method.
* Refactor `numeric_not_equals_filter` method.
* Support `!=` for numeric field multi-value filter_by.
* Ignore local settings file.
* Add comment.
* Add tests.
* Update negation test.
* Set `apply_not_equals` flag for string fields as well.
* Add `field: [!=value]` test.
2022-12-29 20:57:10 +05:30
Kishore Nallan
a9b926e24b
Don't wrap () for empty filter strings.
2022-12-28 17:20:36 +05:30
Kishore Nallan
a10cf167ca
Fix edge case for facet counts with empty strings in array.
2022-12-21 14:39:06 +05:30
Kishore Nallan
e17badbb1e
Fix test.
2022-12-20 16:37:49 +05:30
Kishore Nallan
bc37cf3209
Use equal spaced sampling instead of rand.
2022-12-20 15:33:05 +05:30
Kishore Nallan
f4b8b4c627
Fix symbols_to_index key in response.
2022-12-19 17:25:55 +05:30
Kishore Nallan
652472f32a
Cmake compatible bazel build.
2022-12-18 20:49:51 +05:30
Kishore Nallan
c6ea968f01
Merge branch 'v0.25' into bazel-build
...
# Conflicts:
# .gitignore
2022-12-15 21:19:31 +05:30
0x2Adr1
bbebb1a567
Bazel ( #736 )
2022-12-15 21:09:06 +05:30
Kishore Nallan
c05eb256d8
Merge branch 'v0.24-nested' into v0.25
2022-12-15 20:12:27 +05:30
Kishore Nallan
644677d522
Fix synonym symbols view rendering issue.
2022-12-15 17:45:56 +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
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