1018 Commits

Author SHA1 Message Date
Kishore Nallan
c1aace925c Handle match score not being part of sort fields.
In such a case, match score should not be returned in response.
2022-08-16 18:29:15 +05:30
Kishore Nallan
241a6e0476 Fix eval valgrind errors.
# Conflicts:
#	src/collection.cpp
2022-08-16 15:54:19 +05:30
Kishore Nallan
57782cfd74 Fix eval valgrind errors. 2022-08-16 15:43:40 +05:30
Kishore Nallan
d748c90b4b Merge branch 'v0.24-changes' into v0.24-nested
# Conflicts:
#	include/collection.h
#	src/collection.cpp
#	test/collection_specific_more_test.cpp
2022-08-13 19:03:03 +05:30
Kishore Nallan
6bb2e6e6f8 Fix ordered weighted field index properties. 2022-08-10 20:45:27 +05:30
Kishore Nallan
83ed38e3e6 Support remove_matched_tokens=false when replace query is used. 2022-08-10 13:35:04 +05:30
Kishore Nallan
fe49b0c535 When highlights don't exist, don't send null snippet and full. 2022-08-08 12:49:12 +05:30
Kishore Nallan
9b4fb12729 Explicitly dot separated fields should have precedence. 2022-08-08 12:18:16 +05:30
Kishore Nallan
134af13281 By default, don't enable nested fields. 2022-08-07 17:36:28 +05:30
Kishore Nallan
54ddf63f2e Add test for updates. 2022-08-07 13:28:38 +05:30
Kishore Nallan
869d515688 Handle optional restriction for nested fields. 2022-08-05 19:24:06 +05:30
Kishore Nallan
58bdcc2e6f Merge branch 'v0.24-changes' into v0.24-nested
# Conflicts:
#	src/index.cpp
2022-08-05 14:14:52 +05:30
Kishore Nallan
460abfa69e Tweak override windowing naming scheme. 2022-08-05 10:58:18 +05:30
Kishore Nallan
6729b72b1a Normalize thai text via nfkc. 2022-08-04 20:32:54 +05:30
Kishore Nallan
743abd461c Allow override to be active within specific time window. 2022-08-04 17:11:42 +05:30
Kishore Nallan
6f38ee4270 Support replacement of query in overrides. 2022-08-04 16:49:06 +05:30
Kishore Nallan
db3c014463 Implement optional filtering via sort_by clause. 2022-08-04 16:23:29 +05:30
Kishore Nallan
a90bfba930 Multiple explicit nested fields should be allowed. 2022-08-03 18:38:18 +05:30
Kishore Nallan
903c9f6330 Merge branch 'v0.24-changes' into v0.24-nested 2022-08-02 18:42:53 +05:30
Kishore Nallan
4c6eac9840 Allow cloning of collection & assets from a reference collection. 2022-08-02 18:02:23 +05:30
Kishore Nallan
37fe78f16d If "-" is present in symbols to index, don't use as exclusion op. 2022-08-02 14:32:21 +05:30
Kishore Nallan
22735baddc Test for nested sort_by + facet. 2022-08-02 11:53:08 +05:30
Kishore Nallan
f86f8b5487 Support nested fields with explicit schema. 2022-08-01 19:44:25 +05:30
Kishore Nallan
11d157463c Fix unicode character boundary highlighting. 2022-07-28 17:59:16 +05:30
Kishore Nallan
5a220e7398 Split highlight into meta/snippet/full. 2022-07-27 17:47:21 +05:30
Kishore Nallan
0399c1ac72 Handle alter of previously non-indexed field. 2022-07-26 11:06:34 +05:30
Kishore Nallan
be2487b1cc Handle alter of previously non-indexed field. 2022-07-26 11:06:05 +05:30
Kishore Nallan
bef79000e1 Skeleton for nested field indexing and highlighting. 2022-07-25 17:25:49 +05:30
Kishore Nallan
3f90943bae Improve validation for non-indexed sort field. 2022-07-24 10:36:04 +05:30
Kishore Nallan
308b34eb9c Provide breakdown of text match score in response. 2022-07-22 17:12:51 +05:30
Kishore Nallan
aa3eddf9f4 Add total matching fields to match score. 2022-07-21 16:02:22 +05:30
Kishore Nallan
59e1fd0e4f Allow exact matches on longer strings.
Earlier, N will become zero so no results will be returned.
2022-07-20 14:02:49 +05:30
Kishore Nallan
a99dd45bdc Don't consider dynamic field name having .* as a field.
This is to avoid confusion.
2022-07-20 12:02:43 +05:30
Kishore Nallan
bb5d6a308d Finer locking during collection creation. 2022-07-19 16:33:27 +05:30
Kishore Nallan
1b46165423 Reduce false positives when considering trailing typos. 2022-07-15 11:31:56 +05:30
Kishore Nallan
2e3bbca1b8 Fix symbols not being supported in synonyms. 2022-07-14 16:14:35 +05:30
Kishore Nallan
c2856b02b5 Drop values must be at the top for drop+add use case. 2022-07-14 12:18:12 +05:30
Kishore Nallan
5483ae4631 Support both include/exclude + filter by override. 2022-07-12 13:44:05 +05:30
Kishore Nallan
7a7e9463fc Implement stop processing for basic overrides. 2022-07-08 11:15:34 +05:30
Kishore Nallan
f189ed7a31 Merge branch 'main' into v0.24-changes 2022-07-07 20:43:49 +05:30
Kishore Nallan
d05c51c536 Handle bad regexp in allowed collection API key. 2022-07-07 09:53:50 +05:30
Kishore Nallan
dc15fb6f48 Allow override rules to be processed past the first match. 2022-07-04 17:17:59 +05:30
Kishore Nallan
4e05964e77 Fix filter intersection regression. 2022-06-28 13:24:03 +05:30
Kishore Nallan
963d9a873c Fix bug with 3 sort fields without text match criteria. 2022-06-27 20:41:18 +05:30
Kishore Nallan
77efb5c0ed Fix field-wise prefix searching edge case. 2022-06-27 15:49:57 +05:30
Kishore Nallan
f5808532fa Allow split join tokens to be configured in always mode.
Default remains as fallback.
2022-06-26 19:55:00 +05:30
Kishore Nallan
0ed59f6230 Extend use of max_candidates to facet searching as well. 2022-06-26 18:07:19 +05:30
Kishore Nallan
4d3f6dd0de Fix iterator skip performance. 2022-06-25 17:37:33 +05:30
Kishore Nallan
40ca7e23f6 Export + filter response must have no trailing newline. 2022-06-19 15:51:16 +05:30
Kishore Nallan
19ac76b681 Ensure that id field cannot be altered. 2022-06-17 12:13:38 +05:30