155 Commits

Author SHA1 Message Date
Kishore Nallan
10efdea611 Allow filtering in export end-point. 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
dbeb00debe Allow field highlighting independent of query_by fields. 2021-07-14 11:44:01 +05:30
Kishore Nallan
8dde664736 Validate against empty synonym string. 2021-07-14 11:44:01 +05:30
Kishore Nallan
c00f9c9a73 Ability to disable overrides. 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
2b953c68e3 Allow search query to be pre-segmented. 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
529bb55c5c Make exact match behavior configurable. 2021-07-14 11:44:00 +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
kishorenc
5795aba81f Speed up token position computation. 2020-09-07 18:41:29 +05:30
kishorenc
2f21819db0 Use num_memory_shards as parameter name. 2020-08-24 17:58:15 +05:30
kishorenc
e2c0b52671 Free request & response objects via generator dispose callback. 2020-08-17 11:53:04 +05:30
kishorenc
22ce33bfbe Allow a threshold for memory limit to be specified. 2020-08-09 12:04:37 +05:30
kishorenc
237f47974a Use batching for imports. 2020-07-25 20:36:05 +05:30