kishorenc
7d6a266934
Validate field data types during collection creation.
2020-11-17 20:10:34 +05:30
kishorenc
eaea93c572
Delete documents matching a filter query.
2020-11-17 20:10:34 +05:30
kishorenc
9533b73609
Fixed a few higlighting/splitting edge cases.
2020-11-17 20:10:34 +05:30
kishorenc
6997e35f72
Combine various token operations in a single flow.
...
Splitting, normalizing etc. are now done in a single loop.
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
8d2c881040
Swap loops during facet calculation for performance.
2020-11-02 07:24:52 +05:30
Kishore Nallan
e22297e249
Fixed failing test.
2020-10-24 16:48:25 +05:30
Kishore Nallan
93b1d2d1cb
Refactor to a create/update/upsert API model.
2020-10-24 15:43:55 +05:30
Kishore Nallan
2041de033f
Refactor underlying APIs to support insert/update/upsert.
2020-10-24 09:23:33 +05:30
Kishore Nallan
a692553909
Support single document upsert.
2020-10-22 19:02:06 +05:30
Kishore Nallan
bccc3ac362
Array append/remove perf improvements.
2020-10-20 11:56:43 +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
b764b32134
Iterate doc fields for removal to allow partial deletion.
2020-09-26 15:28:18 +05:30
kishorenc
9c2782e93d
Use int64_t for default sorting field references.
2020-09-26 15:13:01 +05:30
kishorenc
efae9055bc
Don't mark follower as not caught up for small lags.
2020-09-18 16:52:00 +05:30
kishorenc
1ca39459eb
Fix catch up error on https.
2020-09-18 07:24:38 +05:30
kishorenc
a2b421209c
Protect API until follower has caught up with leader.
...
The catch up threshold is configurable as well. Default: 95%
2020-09-17 18:00:32 +05:30
kishorenc
27179b4f8b
Parameterize snapshot interval duration.
2020-09-15 17:30:04 +05:30
kishorenc
0577df5e91
Throttle collection loading to prevent CPU saturation.
2020-09-12 18:46:40 +05:30
kishorenc
d3d25768a0
Temporarily disable memory threshold check.
2020-09-12 11:29:36 +05:30
kishorenc
6593d959ec
Set min snapshot index gap to 1.
2020-09-10 21:35:55 +05:30
kishorenc
3189c1c4cc
Fix import follower hang.
2020-09-09 17:35:50 +05:30
kishorenc
1b01de0c0c
Housekeeping tasks.
2020-09-07 21:25:04 +05:30
kishorenc
13fd927944
Fix crash when an int32 field is filtered with an int64 value.
2020-09-07 19:23:11 +05:30
kishorenc
5795aba81f
Speed up token position computation.
2020-09-07 18:41:29 +05:30
kishorenc
aa9e4a226e
Filtering on string field should be verbatim by default.
...
Allow earlier "CONTAINS" behavior via "~" operator.
2020-09-06 16:25:39 +05:30
kishorenc
695c44dc17
Forward status code and content type properly.
2020-09-05 18:56:39 +05:30
kishorenc
58b52687ea
Handle disconnects during import.
2020-09-04 15:12:09 +05:30
kishorenc
6d7c6b2ea0
Implemented import streaming end-to-end on follower.
2020-09-03 20:44:39 +05:30
kishorenc
02dd4a8a4f
Use direct node API for checking leader status.
...
Otherwise, configuration refresh was getting stuck in a race condition when leader term is not updated while stepping down.
The actual error was "Doing another configuration change".
2020-09-02 11:16:32 +05:30
kishorenc
10957633fb
Request-side import streaming via follower is working.
2020-09-01 20:12:08 +05:30
kishorenc
e254a1d519
Fix an edge case in match score calculation.
2020-08-28 20:09:34 +05:30
kishorenc
59dc1fef0d
Speed up match scoring.
2020-08-25 21:28:23 +05:30
kishorenc
2f21819db0
Use num_memory_shards
as parameter name.
2020-08-24 17:58:15 +05:30
kishorenc
a7f3176732
Ignore non-utf8 characters during JSON serialization.
...
Otherwise, there will be an exception thrown.
2020-08-23 14:52:29 +05:30
kishorenc
0004b5d9e2
Speed up facet computation for array fields.
...
Ditched use of stringstream.
2020-08-22 18:32:44 +05:30
kishorenc
030dc5ca35
Fix http2 async import.
2020-08-21 18:02:06 +05:30
kishorenc
09541e5311
Parameterize number of indices per collection.
2020-08-19 12:29:59 +05:30
kishorenc
80a3e0fb87
Throttle imports.
...
Ensure that other queries are not blocked when an import is in progress.
2020-08-18 18:32:19 +05:30
kishorenc
7f928fb0bc
Reuse new streaming framework for exports.
2020-08-17 13:03:09 +05:30
kishorenc
e2c0b52671
Free request & response objects via generator dispose callback.
2020-08-17 11:53:04 +05:30
kishorenc
4a173ee49d
Streaming import basics.
2020-08-16 20:17:07 +05:30
kishorenc
9a4105111d
Fix NaN during cpu metric calculation.
2020-08-13 07:31:04 +05:30
kishorenc
6e77a9792e
Refactor http req handler: prepare for deferred request body access.
2020-08-12 21:42:23 +05:30