1944 Commits

Author SHA1 Message Date
Kishore Nallan
2c1e0039c9 Update docker image for docker build. 2023-01-19 17:21:15 +05:30
Kishore Nallan
3e774e6f77 Merge branch 'v0.24-nested' into v0.25 2023-01-18 10:41:51 +05:30
Kishore Nallan
695aa514d5 Add test for field with dot in the name but not nested. 2023-01-17 20:08:36 +05:30
Kishore Nallan
7d4466c937 Fix preset restoration. 2023-01-17 09:39:59 +05:30
Kishore Nallan
f6445a0314 Handle preset at the level of each multi search element. 2023-01-15 21:06:10 +05:30
Krunal Gandhi
e6c3017352
Single value facet (#854)
* single valued facet initial commit

* refactoring and bug fixes

* modularizing repeatative code to function call
2023-01-13 13:21:06 +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
40561b91fa Merge branch 'v0.24-nested' into v0.25 2023-01-11 15:53:45 +05:30
Kishore Nallan
29b5573dcb Fix Rocksdb bazel build: must use snappy 2023-01-11 14:36:49 +05:30
Kishore Nallan
160a91ede7 Fix text match default. 2023-01-11 11:38:28 +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
3730f83855 Merge branch 'bazel-build' into v0.25 2023-01-09 15:49:59 +05:30
0x2Adr1
887b556bfe
bump rocksdb and rules_perl version and fix curl (#849) 2023-01-09 15:48:55 +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
10fa7a8fa4 Expose match type to API. 2023-01-09 09:24:37 +05:30
Kishore Nallan
aec1e6cff0 Use http lib timestamp separately as conn_ts. 2023-01-07 19:06:53 +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
7a63d930bf Handle searchcutoff during facet population as well. 2023-01-06 12:33:00 +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
ff8da56d56 Implement search cutoff for faceting op. 2023-01-05 16:20:55 +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
46e8dbcaf8 Fix tests (braft update). 2023-01-03 17:59:39 +05:30
Kishore Nallan
38d7d385f8 Use raft rpc connnection timeout parameter. 2023-01-03 15:24:19 +05:30
Kishore Nallan
87fc037a24 Trim mac link libs. 2023-01-03 15:24:00 +05:30
Kishore Nallan
1b18913254 Upgrade braft version. 2023-01-03 11:40:38 +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
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
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
0e1d70ebf6 Add flag to disable old highlight structure. 2022-12-25 21:04:22 +05:30
Kishore Nallan
60aafae585 Fix for clion/bazel not finding klib. 2022-12-23 19:51:14 +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
a5628f9940 Fix slow exports. 2022-12-22 14:43:53 +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
99aa2706c7 Add default value for TYPESENSE_VERSION in bazelrc 2022-12-21 09:04:31 +05:30
Kishore Nallan
f37f8d2cd8 Allow TYPESENSE_VERSION to be passed to build. 2022-12-21 08:57:36 +05:30