1285 Commits

Author SHA1 Message Date
Kishore Nallan
d827ddbc7a Swap out underlying geo library. 2021-05-11 12:33:38 +05:30
Kishore Nallan
47a35935d6 Support resource:* API key permission. 2021-05-10 07:53:53 +05:30
Kishore Nallan
9679895ee3 Add optional LRU + TTL cache for searches. 2021-05-09 20:31:24 +05:30
Kishore Nallan
999a62b64c Support use of backticks for wrapping string filter value. 2021-05-09 15:55:48 +05:30
Kishore Nallan
2bf64bb205 Chore: free filter_ids during exclude filtering. 2021-05-08 21:42:42 +05:30
Kishore Nallan
40b5eca7d0 Reduce no-op operations during updates to fix perf. 2021-05-08 17:16:43 +05:30
Jason Bosco
88c7d4e0b9 Update README.md 2021-05-07 20:13:50 -07:00
Kishore Nallan
46b0f08d3f Server should not be ready during snapshot pull + load. 2021-05-07 19:32:08 +05:30
Kishore Nallan
b26d8c04e1 Bump max query string length from 2K to 4K. 2021-05-07 14:42:18 +05:30
Kishore Nallan
278f1d87b9 Support exclude filtering for string facets. 2021-05-07 13:32:03 +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
Jason Bosco
e1e707b2f2 Update README.md 2021-04-29 14:13:11 -07:00
Kishore Nallan
f8b035bc5c Update README to mention 0.20 2021-04-29 08:07:16 +05:30
Kishore Nallan
1cd30db935 Merge branch '0.20.0-rc' 2021-04-29 08:04:38 +05:30
Kishore Nallan
5f2254d22a A string* field must be treated as optional by default. 2021-04-28 08:12:54 +05:30
Kishore Nallan
b5300fa599 Ensure that all query tokens are highlighted. 2021-04-27 08:11:37 +05:30
Kishore Nallan
b3d1a48769 Fix shutdown when node is terminated before becoming leader. 2021-04-26 19:01:32 +05:30
Kishore Nallan
b70296e58f Refactor write request check. 2021-04-26 18:33:52 +05:30
Kishore Nallan
c4deb38189 Handle lag being negative in leader. 2021-04-26 17:19:07 +05:30
Kishore Nallan
7e9fbea7f7 Use applying index to work around a bug with index updates. 2021-04-26 08:09:25 +05:30
Kishore Nallan
2a42f1a5fc Fix race condition with on-demand snapshot. 2021-04-25 22:04:42 +05:30
Kishore Nallan
2a89acd84e Return 503 for both read and write lag. 2021-04-25 19:15:33 +05:30
Kishore Nallan
60c03bce19 Defer deletion of old ssl context during SSL cert refresh. 2021-04-25 16:31:20 +05:30
Kishore Nallan
51f57d3dd7 Fixed an issue with prefix searching. 2021-04-23 18:32:25 +05:30
Kishore Nallan
aa1cd0acd1 Recover gracefully from a crash during write. 2021-04-23 14:23:00 +05:30
Kishore Nallan
0ae663ab02 Implement rate limiting to protect from write lag. 2021-04-22 07:35:51 +05:30
Kishore Nallan
c1a2b2252a Always use http2 for follower -> leader communication.
Noticed some socket leaks with http1 (https://github.com/h2o/h2o/issues/1525).
2021-04-21 08:40:29 +05:30
Kishore Nallan
006ff75154 Better highlighting for query tokens match across fields. 2021-04-19 13:02:42 +05:30
Jason Bosco
30b69cf734 Highlight benchmarks 2021-04-18 14:45:22 -07:00
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
cdcdc7bd20 Ensure that req filter clause is merged in multi search. 2021-04-14 21:52:35 +05:30
Kishore Nallan
37b78072fa Allow long custom API keys. 2021-04-12 19:36:03 +05:30
Kishore Nallan
0727f8a5b7 More fine grain locking during updates. 2021-04-12 16:22:57 +05:30
Kishore Nallan
1b004d3865 Handle failures during import. 2021-04-12 15:05:54 +05:30
Kishore Nallan
43b8c6c686 Fix test. 2021-04-11 21:04:17 +05:30
Kishore Nallan
2d34bb66e6 Fix premature close of async req on http/2 2021-04-11 20:16:54 +05:30
Kishore Nallan
68e25fac09 Unique lock before dropping a collection. 2021-04-11 20:15:48 +05:30
Kishore Nallan
60a5cff291 Fix edge case involving filtering of negative values. 2021-04-10 21:09:00 +05:30
Kishore Nallan
7b56207570 Improve collection loading parallelism.
Don't run collection loads in batches as that will not work when there is skew in number of documents (largest collection will slow the whole batch down).
2021-04-10 16:45:10 +05:30
Kishore Nallan
2591231a0b Fix on-demand snapshot. 2021-04-10 14:24:28 +05:30
Kishore Nallan
5b4b617b59 Refresh catch up status more frequently. 2021-04-10 13:06:56 +05:30
Kishore Nallan
1da15d8ee5 Helper docker file for deb/rpm building. 2021-04-10 13:06:26 +05:30
Kishore Nallan
a120c903a1 Filtering must require presence of ALL tokens.
Maybe in the future, we can introduce :~ operator to return documents containing partial tokens.
2021-04-09 18:24:47 +05:30
Kishore Nallan
6b793afbae Refactor deferring of batched writes during import. 2021-04-09 16:47:42 +05:30
Kishore Nallan
073667e844 Fix blocking of http thread during writes. 2021-04-08 17:57:02 +05:30
kishorenc
a11befe42b Fix embedded params on multi_search end-point. 2021-04-07 15:00:04 +05:30
kishorenc
ad28540fdc Manage lifecycle of deferred_req_res_t better. 2021-04-06 14:12:15 +05:30
kishorenc
ddf54cbd6e Allow API key value to specified. 2021-04-05 16:08:40 +05:30