259 Commits

Author SHA1 Message Date
Kishore Nallan
ce7b6e12e9 Prioritize record with a field containing all tokens in the query. 2021-08-27 20:52:51 +05:30
Kishore Nallan
26351a6984 Change default value of typo/drop tokens threshold to 1. 2021-08-11 14:20:28 +05:30
Kishore Nallan
b5e3a28ace More fixes for highlighting. 2021-08-05 21:31:04 +05:30
Kishore Nallan
261536d0f4 Merge branch '0.22.0-rc' into postings-refactor-integration
# Conflicts:
#	src/collection.cpp
#	src/index.cpp
#	test/collection_specific_test.cpp
2021-07-31 21:35:30 +05:30
Kishore Nallan
b2c12a9b2c Fix more edge cases in highlighting. 2021-07-31 08:59:49 +05:30
Kishore Nallan
13cb7b9364 Revert "Highlight field value that is a prefix of the query."
This reverts commit 545027a59bc55b24c2fece112b4fa6a655a1f79e.

# Conflicts:
#	test/collection_specific_test.cpp
2021-07-27 17:57:49 +05:30
Kishore Nallan
38d44a7c8a Highlight field value that is a prefix of the query. 2021-07-26 15:33:03 +05:30
Kishore Nallan
41c16fb7a7 Merge branch '0.22.0-rc' into postings-refactor-integration
# Conflicts:
#	include/index.h
#	include/posting.h
#	include/posting_list.h
#	src/art.cpp
#	src/collection.cpp
#	src/index.cpp
#	src/posting.cpp
#	src/posting_list.cpp
#	test/art_test.cpp
#	test/collection_specific_test.cpp
#	test/collection_test.cpp
#	test/posting_list_test.cpp
2021-07-24 17:10:54 +05:30
Kishore Nallan
89a509513a Ensure that weights can fully control cross-field matching. 2021-07-24 15:08:08 +05:30
Kishore Nallan
672c895805 Typo and drop tokens thresholds must be applied independently. 2021-07-16 13:39:52 +05:30
Kishore Nallan
56247ce6ac Prefix match must be differentiated from single typo. 2021-07-14 11:44:01 +05:30
Kishore Nallan
e4936a9f1a Simplify wildcard query result generation. 2021-07-14 11:44:01 +05:30
Kishore Nallan
5cbf810fe5 Fix upsert behavior: should accept only whole documents. 2021-07-14 11:44:01 +05:30
Kishore Nallan
6b41c3bf29 Support not equals on boolean filds. 2021-07-14 11:44:01 +05:30
Kishore Nallan
2391dad879 Field level prefix configuration. 2021-07-14 11:44:01 +05:30
Kishore Nallan
1189b7d124 Test for verifying that unindexed field is upserted.
♥ SSK.
2021-07-14 11:44:01 +05:30
Kishore Nallan
16d91aec6f Fix highlight edge case: random first token highlight. 2021-07-14 11:44:01 +05:30
Kishore Nallan
78ea80153f Allow num_typos to be configured at a per-field level. 2021-07-14 11:44:01 +05:30
Kishore Nallan
8aa50af121 Skip empty strings during indexing. 2021-07-14 11:44:00 +05:30
Kishore Nallan
88ec671d65 Option fields can have a null value. 2021-07-14 11:44:00 +05:30
Kishore Nallan
529bb55c5c Make exact match behavior configurable. 2021-07-14 11:44:00 +05:30
Kishore Nallan
09e2e62312 Fixed an edge case of exact match across multiple fields. 2021-07-14 11:44:00 +05:30
Kishore Nallan
25f6fe0614 Prioritize records whose fields match exactly with query. 2021-07-14 11:44:00 +05:30
Kishore Nallan
74bb5f1383 Refactor fuzzy search to address some obscure bugs. 2021-07-14 11:44:00 +05:30
Kishore Nallan
88f0d8b6a4 Merge branch 'postings-refactor' into postings-refactor-integration
# Conflicts:
#	src/index.cpp
2021-07-11 11:43:17 +05:30
Kishore Nallan
d1256a7c27 Prefix match must be differentiated from single typo. 2021-07-08 15:37:52 +05:30
Kishore Nallan
2652751823 Merge branch 'postings-refactor' into postings-refactor-integration
# Conflicts:
#	include/index.h
#	src/posting_list.cpp
#	test/posting_list_test.cpp
2021-06-28 21:05:58 +05:30
Kishore Nallan
b066909205 Simplify wildcard query result generation. 2021-06-26 15:16:36 +05:30
Kishore Nallan
a5efcd6897 Fix upsert behavior: should accept only whole documents. 2021-06-25 21:02:33 +05:30
Kishore Nallan
e42acc4307 Merge branch 'postings-refactor' into postings-refactor-integration
# Conflicts:
#	src/index.cpp
2021-06-18 20:34:56 +05:30
Kishore Nallan
876f0f64dc Support not equals on boolean filds. 2021-06-18 20:14:36 +05:30
Kishore Nallan
929b6796cc Posting list integration. 2021-06-18 12:52:06 +05:30
Kishore Nallan
b141e01b1b Field level prefix configuration. 2021-06-11 19:00:11 +05:30
Kishore Nallan
d5655809ac Test for verifying that unindexed field is upserted.
♥ SSK.
2021-06-06 15:42:01 +05:30
Kishore Nallan
e3a5c3d9aa Fix highlight edge case: random first token highlight. 2021-05-20 11:12:27 +05:30
Kishore Nallan
32eda90e16 Allow num_typos to be configured at a per-field level. 2021-05-20 07:22:01 +05:30
Kishore Nallan
239f4443e8 Skip empty strings during indexing. 2021-05-13 17:23:02 +05:30
Kishore Nallan
e8dd34c1c3 Option fields can have a null value. 2021-05-13 17:01:22 +05:30
Kishore Nallan
987535c1be Make exact match behavior configurable. 2021-05-13 15:13:29 +05:30
Kishore Nallan
2b31ea22b8 Fixed an edge case of exact match across multiple fields. 2021-05-12 22:15:32 +05:30
Kishore Nallan
348d672d0c Prioritize records whose fields match exactly with query. 2021-05-05 16:24:55 +05:30
Kishore Nallan
b13d093b0a Refactor fuzzy search to address some obscure bugs. 2021-05-02 21:49:47 +05:30
Kishore Nallan
b5300fa599 Ensure that all query tokens are highlighted. 2021-04-27 08:11:37 +05:30
Kishore Nallan
006ff75154 Better highlighting for query tokens match across fields. 2021-04-19 13:02:42 +05:30
Kishore Nallan
b3b47f5651 Refactor highlighting + tokenizer to simplify logic. 2021-04-18 20:37:58 +05:30
Kishore Nallan
1d1712f391 Refactor tokenizer to use index, skip and separate logic. 2021-04-16 17:55:52 +05:30
Kishore Nallan
0727f8a5b7 More fine grain locking during updates. 2021-04-12 16:22:57 +05:30
kishorenc
bc0d01bb47 Parameterize thread pool size and collection load configs. 2021-03-29 15:18:47 +05:30
kishorenc
a87d108aa5 Ensure that highlighting is on the best matched field. 2021-03-26 19:21:22 +05:30
kishorenc
063d7911b4 SSL cert loading: replace instead of add + validation. 2021-03-21 09:37:08 +05:30