1119 Commits

Author SHA1 Message Date
Kishore Nallan
8914133598 Merge branch 'v0.24.1' into v0.25 2023-02-12 17:50:27 +05:30
Kishore Nallan
a121f95bd8 Don't remove empty array of obj elements for highlight. 2023-02-12 07:51:05 +05:30
Kishore Nallan
2a75f6fc73 Fix boolean field as default sorting field. 2023-02-10 17:03:29 +05:30
Kishore Nallan
d51ec38ef9 Arabic uses 2 bytes so 1 byte typos carry no meaning. 2023-02-10 14:57:28 +05:30
Kishore Nallan
995fae5123 Merge branch 'v0.24.1' into v0.25 2023-02-10 11:39:11 +05:30
Harpreet Sangar
b1ef695461 Reference include_fields. 2023-02-09 11:50:58 +05:30
Kishore Nallan
eabea8f248 Handle geopoint inside nested array of objects. 2023-02-07 20:11:40 +05:30
Harpreet Sangar
961e4330cf Fix tests. 2023-02-07 10:53:18 +05:30
Kishore Nallan
8d9825617b Merge branch 'v0.24.1' into v0.25 2023-02-06 10:24:05 +05:30
Kishore Nallan
86535e24aa Improve error message for nested array object string field. 2023-02-05 13:20:02 +05:30
Kishore Nallan
0579398993 Allow null values for optional nested fields. 2023-02-05 10:58:40 +05:30
Kishore Nallan
2c8b8d6af1 Add test for eval expression validation. 2023-02-04 21:30:02 +05:30
Kishore Nallan
f40637fe64 Enabling exhaustive search should automatically drop tokens. 2023-02-04 21:27:25 +05:30
Kishore Nallan
7df8ea639e Improve range facet value validation + error messages. 2023-02-04 12:24:12 +05:30
Kishore Nallan
f9bd328e48 Add test for eval expression validation. 2023-02-03 18:34:51 +05:30
Harpreet Sangar
16d6a5cbf0 Fix double locking of collection mutex. 2023-02-03 14:30:17 +05:30
Kishore Nallan
d44afc3295 Enabling exhaustive search should automatically drop tokens. 2023-02-02 16:48:18 +05:30
Harpreet Sangar
34f039e584 Add reference_fields map in Collection. 2023-02-02 11:23:09 +05:30
Ozan Armağan
07b456c229
Rate limit API updates & improvements (#846)
* Rate limit procedure updates & improvements

* Review changes

* Update for adding support to delete temp throttles

* Review Changes II

* Review Changes III
2023-01-31 20:57:02 +05:30
Kishore Nallan
20997c9be8 Merge branch 'main' into v0.25
# Conflicts:
#	test/collection_specific_more_test.cpp
2023-01-31 07:23:27 +05:30
Harpreet Sangar
0f2758fb97 Fix Index::get_filter_matches. 2023-01-30 10:31:29 +05:30
Harpreet Sangar
6c19c95af6 Add Index::adaptive_filter. 2023-01-27 19:58:06 +05:30
Harpreet Sangar
5c5f43195c Add Index::rearranging_recursive_filter. 2023-01-27 12:57:13 +05:30
Kishore Nallan
bfb6e65764 Use 408 for search cutoff + no results. 2023-01-26 21:23:09 +05:30
Kishore Nallan
dcfb540b05 Fix test. 2023-01-26 20:45:54 +05:30
Kishore Nallan
08ae11cf1f Fix test. 2023-01-26 19:33:47 +05:30
Kishore Nallan
e8e1772858 Refactor fuzzy search state transition.
Handle extra chars in the middle of a query.
2023-01-26 18:24:43 +05:30
Harpreet Sangar
6c5662bc95 Optimize reference filtering. 2023-01-24 10:57:29 +05:30
Harpreet Sangar
ebfbf4f48d Filter by reference. 2023-01-22 12:02:29 +05:30
Kishore Nallan
eb3c889e13 Merge branch 'v0.24-nested' into v0.25 2023-01-21 21:22:06 +05:30
Kishore Nallan
21f1937138 Don't return nested field details in summary end-points. 2023-01-21 19:01:43 +05:30
Kishore Nallan
d25a021ea9 Don't prune actually empty elements. 2023-01-21 09:42:52 +05:30
Harpreet Sangar
c4730c60b3 Store foo_sequence_id in collection's meta-data. 2023-01-19 11:27:52 +05:30
Harpreet Sangar
0acd2c06c3 Serialize sequence id. 2023-01-19 11:25:43 +05:30
Harpreet Sangar
eef346b29f Index document containing a reference field. 2023-01-18 18:12:25 +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
Harpreet Sangar
b41db06b1a Abstract foo_sequence_id field from user. 2023-01-17 14:08:39 +05:30
Harpreet Sangar
e16b4b7349 Index foo_sequence_id field that stores sequence_id of referenced document. 2023-01-17 09:49:17 +05:30
Kishore Nallan
7d4466c937 Fix preset restoration. 2023-01-17 09:39:59 +05:30
Harpreet Sangar
aad34c8c5c Fix CollectionManagerTest.RestoreRecordsOnRestart 2023-01-17 09:19:08 +05:30
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