792 Commits

Author SHA1 Message Date
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
be2487b1cc Handle alter of previously non-indexed field. 2022-07-26 11:06:05 +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
Kishore Nallan
623a65c538 Consider cross field matching during token splitting. 2022-06-14 11:17:45 +05:30
Kishore Nallan
3c5f843ce8 Merge branch 'main' into v0.24 2022-06-13 15:23:11 +05:30
Kishore Nallan
1ea74b33bf Fix an edge case in exact filtering in array. 2022-06-13 15:18:17 +05:30
RedSnail
ccb05375b7
Option to return document ID and body in import response. (#615)
* have a strange error, I'll try to compile without changes

* added return_id keyword which returns only id

* added test entry and also added test option to docker-build.sh

* sorry, I can't run tests my self, so i run it with your CI

* It didn't work 'cause i've been writing in python for too long :)
2022-06-13 10:21:44 +05:30
Kishore Nallan
a9a2d8cc11 Synonym queries should preserve prefix option. 2022-06-08 14:33:45 +05:30
Kishore Nallan
223b104823 Introduce option to rank text by token position. 2022-06-07 11:00:24 +05:30
Kishore Nallan
0da51cb874 Support sort_by in overrides. 2022-06-05 18:00:41 +05:30
Kishore Nallan
1d0917dc41 Fix typo correction edge case. 2022-06-05 18:00:27 +05:30
Kishore Nallan
d4cfe81a90 Allow missing values sort config on numerical fields. 2022-05-30 13:33:57 +05:30
Kishore Nallan
43c26b1c7e Retain verbatim match on array. 2022-05-30 07:13:22 +05:30
Kishore Nallan
a409df8dad Fix verbatim match on array. 2022-05-29 19:24:55 +05:30
Kishore Nallan
fa607f0013 Ignore explicit wildcard named field. 2022-05-28 19:00:06 +05:30
Kishore Nallan
cf3b28bb77 String sort: allow missing values to be sent to either end. 2022-05-28 17:27:22 +05:30
Kishore Nallan
cf5f71a0ba Don't consider global context for text match in arrays. 2022-05-27 18:34:30 +05:30
Kishore Nallan
9d56608819 Fix quirk in single field prefix searching. 2022-05-27 17:07:27 +05:30
Kishore Nallan
e68458aff3 Don't allow field with same name as regexp field pattern. 2022-05-26 15:07:09 +05:30
Kishore Nallan
e12711ebf4 Dynamic filtering via overrides should not use typos. 2022-05-25 07:18:23 +05:30
Kishore Nallan
0710addecc Prioritize highlight zone matching over total count. 2022-05-23 07:53:03 +05:30
Kishore Nallan
c72abf89a6 More fixes for prefix expansion. 2022-05-21 20:47:02 +05:30
Kishore Nallan
d935cb4041 Fix proper prefix expansion. 2022-05-19 16:12:33 +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
0e2257dc29 Fix max_candidates behavior. 2022-05-13 17:41:11 +05:30
Kishore Nallan
d2e4fad605 Placeholder override filtering must match exactly. 2022-05-11 17:08:41 +05:30
Kishore Nallan
0e52f93b5a Additional test for upsert with string field. 2022-05-10 20:35:01 +05:30
Kishore Nallan
4c2c11d495 Test: bootstrap key is not allowed for scoped search. 2022-05-10 18:51:32 +05:30
Kishore Nallan
8eb19f70a5 Account for token separator during upsert/removal. 2022-05-08 21:14:07 +05:30