160 Commits

Author SHA1 Message Date
Kishore Nallan
7b4450bbf9 Bake concurrency into a single index. 2021-08-31 13:11:50 +05:30
Kishore Nallan
9659d60047 Exhaustive search should ignore typo and drop token thresholds. 2021-08-28 19:33:40 +05:30
Kishore Nallan
07d838e385 Make symbols for indexing and segmentation configurable. 2021-08-26 10:27:18 +05:30
Kishore Nallan
0e2adb4242 Copy-free intersect + score. 2021-08-17 18:37:42 +05:30
Kishore Nallan
7703939430 Parameterize combination limit for more exhaustive searching. 2021-08-07 18:13:29 +05:30
Kishore Nallan
d406bb4715 Allow filtering in export end-point. 2021-06-27 21:16:10 +05:30
Kishore Nallan
a5efcd6897 Fix upsert behavior: should accept only whole documents. 2021-06-25 21:02:33 +05:30
Kishore Nallan
1dd61e62db Allow field highlighting independent of query_by fields. 2021-06-17 18:24:11 +05:30
Kishore Nallan
0716da0057 Validate against empty synonym string. 2021-06-11 20:56:48 +05:30
Kishore Nallan
0d5eef664e Ability to disable overrides. 2021-06-11 20:29:21 +05:30
Kishore Nallan
b141e01b1b Field level prefix configuration. 2021-06-11 19:00:11 +05:30
Kishore Nallan
8a43fa8b88 Allow search query to be pre-segmented. 2021-06-07 21:43:28 +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
987535c1be Make exact match behavior configurable. 2021-05-13 15:13:29 +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
kishorenc
dd72e2a78c Introduce field level locale. 2021-04-02 21:28:49 +05:30
kishorenc
0fb5c25d2c Allow faceting to be configurable via dynamic fields. 2021-03-06 16:41:05 +05:30
kishorenc
4e3307a891 Use string* to specify string/string array coercion. 2021-02-25 15:07:37 +05:30
kishorenc
3a4d21992c Fix edge cases in schema detection. 2021-02-24 21:38:55 +05:30
kishorenc
0a9cf4aee0 Add more tests for testing schema detection. 2021-02-23 20:04:37 +05:30
kishorenc
f1b70384cc Allow fields to be stringified automatically. 2021-02-23 12:58:14 +05:30
kishorenc
c24fc02d4d Persist per-doc coerce setting + allow dropping of bad values. 2021-02-23 09:35:36 +05:30
kishorenc
11c41804e5 Handle bad data gracefully. 2021-02-20 12:49:41 +05:30
kishorenc
e9df6e58e2 Allow indexing of fields without pre-defined schema.
# Conflicts:
#	include/collection.h
#	include/index.h
#	src/collection.cpp
#	src/collection_manager.cpp
2021-02-18 19:08:42 +05:30
kishorenc
5dc7df793c Merge branch '0.18.0-patches' into 0.20.0-rc
# Conflicts:
#	include/auth_manager.h
#	include/collection_manager.h
#	include/http_server.h
#	src/auth_manager.cpp
#	src/collection_manager.cpp
#	src/http_server.cpp
2021-02-16 12:54:42 +05:30
kishorenc
53eb2e6cbd Fix test ordering. 2021-02-13 14:02:20 +05:30
kishorenc
4eb7058568 Point datatype for basic geo queries. 2021-02-07 19:55:55 +05:30
kishorenc
17fbbd0838 Refactor concurrency model. 2021-02-06 20:17:18 +05:30
Jason Bosco
eed5d61c15 Validate override configuration during creation 2021-01-23 07:45:35 -08:00
Jason Bosco
0306242d59 Add limit_hits param for restricting total results 2021-01-22 21:37:36 -08:00
Jason Bosco
c110f8ecff Dynamic expansion of max hits 2021-01-22 20:20:37 -08:00
kishorenc
59f95dbf67 Use max_hits parameter for consistent pagination.
This will not affect wildcard queries or single field queries.
2020-12-28 19:20:00 +05:30
kishorenc
3f0bb24b45 Synonym response should not leak underlying structure. 2020-12-28 19:20:00 +05:30
kishorenc
66a44a5afc Expose field weights used for scoring. 2020-12-28 19:20:00 +05:30
kishorenc
90ac320c93 Synonyms should be able to belong to multiple sets. 2020-12-28 19:19:59 +05:30
kishorenc
88918ef958 Synonyms basics. 2020-12-28 19:19:59 +05:30
kishorenc
1bed2d7d80 Support excluding tokens from query.
Prefixing a token in the query with "-" will fetch documents that do not contain that token.
2020-12-28 19:19:59 +05:30
kishorenc
7e2b0fcdcb Match query tokens across multiple fields effectively. 2020-12-28 19:19:59 +05:30
kishorenc
3a86d58506 Handle colon character in pinned hit IDs. 2020-12-28 19:19:59 +05:30
kishorenc
eaea93c572 Delete documents matching a filter query. 2020-11-17 20:10:34 +05:30
kishorenc
6c1455bc2f Return matched tokens in highlight response structure.
Also, allows customization of the highlighting tag used (default being the mark tag).
2020-11-17 20:10:34 +05:30
Kishore Nallan
908a8b0026 [Bug] String array field update + faceting.
Updates to string array fields were triggering a crash during faceting due to mismatch in array position.
2020-11-03 19:36:25 +05:30
Kishore Nallan
2041de033f Refactor underlying APIs to support insert/update/upsert. 2020-10-24 09:23:33 +05:30
Kishore Nallan
73f3e0620e Combine usage of add() / add_many(). 2020-10-17 15:17:15 +05:30
Kishore Nallan
9adbdd1576 Fixed a bug with hlighlighting in upsert import. 2020-10-17 11:55:42 +05:30
Kishore Nallan
60d4e9bf5a Support upsert during import. 2020-10-10 18:09:17 +05:30
Kishore Nallan
7ced978520 Parameterize the num of tokens that surround a highlight. 2020-10-06 17:06:40 +05:30
kishorenc
3ed27ab814 Expose document update API endpoint. 2020-09-27 20:00:40 +05:30
kishorenc
377769294f Add foundational support for document update. 2020-09-27 17:20:22 +05:30