113 Commits

Author SHA1 Message Date
Jeroen Claassens
e10cd4b039
style: run prettier on whole repo 2023-01-23 23:40:30 +01:00
Jeroen Claassens
982198d24f
test: migrate to vitest 2023-01-23 23:12:03 +01:00
Kiro Risk
1de1dffa3f fix: value fetched at the end must be a string
Closes #661
2022-05-10 19:00:52 -07:00
Gabriel R. Abreu
1d445b9999 feat: allow passing getFn for a specific key
Closes #627
2022-05-02 19:10:57 -07:00
Kiro Risk
9d7fc4487b Revert "allow to pass a getFn for a specific key"
This reverts commit 20668ecbe4e63c701edfaee83f61d13e107e868f.
2022-05-02 18:51:58 -07:00
Kiro Risk
604781a997 Revert "better testing"
This reverts commit 203871fb55cfdccb67da2250a4323eb62b34aefb.
2022-05-02 18:51:58 -07:00
Gabriel R. Abreu
203871fb55 better testing 2022-05-02 18:45:36 -07:00
Gabriel R. Abreu
20668ecbe4 allow to pass a getFn for a specific key 2022-05-02 18:45:36 -07:00
Kiro Risk
6f6af51cc3 fix(logical): scoring for logical OR
Fixes #593
2021-12-23 09:42:43 -08:00
Kiro Risk
a9e0080449 feat(scoring): field length norm weight 2021-12-21 21:35:54 -08:00
Scott Kearney
443c863c44 fix(extended): correctly score include-match results
change score to 0/1 when matched/not matched, respectively

fixes #522
2020-12-29 13:59:57 -08:00
Kiro Risk
8f67ac985d fix(extended): ignoreLocation when useExtendedSearch is true
Fixes #465
2020-10-30 08:58:56 -07:00
Armando P
740a500476 fix: if null in array 2020-10-05 19:45:05 +02:00
Kiro Risk
226d868a11 fix: handle booleans in the data
With this update, booleans are stringified and search correclty.

closes #469
2020-07-26 09:45:00 -07:00
Kiro Risk
350283f45a feat(extended): add ability to search actual exact string
This involves renaming of existing exact to be "include".
2020-06-28 12:42:29 -07:00
Kiro Risk
e357229846 fix(logical): scores in logical query operators are ignored
Closes #449
2020-06-23 18:47:29 -07:00
Kiro Risk
7077fbe5f4 feat: provide alternative array notation for nested paths
Closes #432
2020-06-22 20:41:23 -07:00
Kiro Risk
999f82696b
Fixes #449 (#451) 2020-06-20 23:29:42 -07:00
Kiro Risk
9136c6ee24 #446 2020-06-17 09:03:22 -07:00
Kiro Risk
1bb4bdf8fa next 2020-06-17 08:01:57 -07:00
Kiro Risk
874579f8d6 #442 2020-06-16 19:54:16 -07:00
Kiro Risk
3867298c3c #229 2020-06-13 21:58:11 -07:00
Kiro Risk
436b2b06b4 #440 2020-06-13 21:31:08 -07:00
Kiro Risk
8cce2481ff #438 2020-06-13 12:38:07 -07:00
Kiro Risk
5eb416ea7f #438 2020-06-12 18:30:56 -07:00
Kiro Risk
3369b720fa Fixes #433 2020-06-05 19:12:09 -07:00
Kiro Risk
d5031789a3 Fixes #430 2020-06-04 10:27:32 -07:00
Kiro Risk
3fdd0bf486 Fixes #429 2020-06-03 08:54:13 -07:00
Kiro Risk
172ee0eebc Fixes #426 2020-06-02 20:41:51 -07:00
Kiro Risk
84752c9b62 Fixes #426 2020-06-02 20:31:21 -07:00
Kirollos Risk
a2d62fb6b1
Removed obsolet code + comment 2020-05-14 09:15:21 -07:00
Kirollos Risk
bad6c5a5f2
Fixed lint 2020-05-11 20:57:24 -07:00
Kirollos Risk
9c80b828de
Added custom errors 2020-05-11 20:54:08 -07:00
Kirollos Risk
8be5721f99
Added feature flags for easier build creation 2020-05-11 17:46:42 -07:00
Kirollos Risk
fea5ff89a4
removed unused import 2020-05-08 16:53:48 -07:00
Kirollos Risk
71f07b64d0
Improved sugar 2020-05-05 10:28:33 -07:00
Kirollos Risk
501bf5232e
Improved logical parsing logic, #411 2020-05-04 18:21:06 -07:00
Kirollos Risk
d245696a2a
Addresses #413 2020-05-04 14:31:25 -07:00
Kirollos Risk
257fb1dd7c
Support for add+remove: #412 2020-05-04 14:02:40 -07:00
Kirollos Risk
ff78173544
Added abiity to add doc to index 2020-05-03 14:23:19 -07:00
Kirollos Risk
19e941be00
Added tests for logical querying 2020-05-03 12:14:11 -07:00
Kirollos Risk
eff9ad9cf7
space save 2020-04-28 22:13:09 -07:00
Kirollos Risk
34590ecb12 Fixed sort function 2020-04-20 23:13:35 -07:00
Kirollos Risk
ab80846459
Addresses #398 2020-04-19 16:39:27 -07:00
Kirollos Risk
10cb370799 Modified bitap to work on long patterns 2020-04-18 15:51:10 -07:00
Kirollos Risk
3c704b0f65
Fixed scoring for extended search 2020-04-12 20:28:20 -07:00
Kirollos Risk
da27ea7506 Fixes #389, #390 2020-04-11 10:41:55 -07:00
Kirollos Risk
4a8423dcfd Added indices tests and changed babrlrc to json 2020-04-04 20:16:45 -07:00
Kirollos Risk
73a73e4462 Addresses #376 2020-04-04 18:28:33 -07:00
Kirollos Risk
f36f21b39f extended search improvements 2020-04-03 12:06:46 -07:00