324 Commits

Author SHA1 Message Date
Kishore Nallan
2041de033f Refactor underlying APIs to support insert/update/upsert. 2020-10-24 09:23:33 +05:30
Kishore Nallan
bccc3ac362 Array append/remove perf improvements. 2020-10-20 11:56:43 +05:30
Kishore Nallan
56778dc847 Add test for del doc scrubbing. 2020-10-17 16:44:09 +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
Kishore Nallan
a0f6bd4347 Bug fix: exact filtering with a typo in a token. 2020-10-03 11:35:47 +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
249c4886dc Fix bad document not being returned sometimes during import. 2020-09-24 19:02:08 +05:30
kishorenc
97394c146a Allow := filter syntax for non-string fields.
Though it makes no difference.
2020-09-14 11:59:43 +05:30
kishorenc
d06552eeba Allow a string facet field to be filtered verbatim.
Use the `field := value` notation to indicate verbatim match. Requires the field to be a facet field, otherwise an error is returned indicating that requirement.
2020-09-10 11:56:23 +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
8f6ec34918 Count facet values with overlapping tokens separately. 2020-09-06 17:04:48 +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
d42a04acb9 Return raw doc in response when indexing fails during import. 2020-09-05 19:40:48 +05:30
kishorenc
e254a1d519 Fix an edge case in match score calculation. 2020-08-28 20:09:34 +05:30
kishorenc
5b55b071b2 Handle facet query being larger than matched token. 2020-08-26 17:22:02 +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
0004b5d9e2 Speed up facet computation for array fields.
Ditched use of stringstream.
2020-08-22 18:32:44 +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
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
f54bc8a4b3 Fix + add test for int64 as default sorting field. 2020-08-13 07:42:15 +05:30
kishorenc
0c186481a9 Allow int64 to be used as a default sorting field. 2020-08-12 16:06:27 +05:30
kishorenc
14faa3af4e Speed up wildcard searches further. 2020-08-12 15:33:40 +05:30
kishorenc
13591fc017 Expose network received/sent bytes metric. 2020-08-10 19:10:28 +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
kishorenc
6a4dbaf29c Expose all metric values only as string for consistency. 2020-07-23 21:19:49 +05:30
kishorenc
1ab9b65098 Force use of jemalloc via static linking. 2020-07-21 17:36:27 +05:30
kishorenc
66f1f5d01f More efficient store contains. 2020-07-14 20:55:10 +05:30
kishorenc
0f38242e09 Clearer error message about group limit range. 2020-07-01 08:09:00 +05:30
kishorenc
0cdd58e86c Validate group limit & other numerical parameters of search. 2020-06-30 15:58:32 +05:30
kishorenc
2102f2323f Identify curated results in response. 2020-06-28 17:22:12 +05:30
kishorenc
0762f4ae29 Group key should be actual values. 2020-06-28 16:58:30 +05:30
kishorenc
933cbe9bb0 More tests. 2020-06-22 08:29:35 +05:30
kishorenc
de28d33f24 More tests for grouping. 2020-06-21 22:00:08 +05:30
kishorenc
e9557bf233 Tear down test suite state properly. 2020-06-19 12:15:41 +05:30
kishorenc
ef40516790 Fixing an issue with grouping across indices. 2020-06-18 18:17:33 +05:30
kishorenc
3f6f13baf1 Support for grouping overrides. 2020-06-16 16:28:14 +05:30
kishorenc
1c398fac7e Don't require query fields for wildcard query. 2020-06-14 15:22:20 +05:30
kishorenc
10c22c174a Consider grouping when generating facet counts. 2020-06-14 08:14:03 +05:30
kishorenc
e234f23cec Merge branch 'master' into distinct-grouping 2020-06-13 12:39:11 +05:30
kishorenc
50dba3ec43 Fixed an edge case in filtering int64 values. 2020-06-13 11:12:46 +05:30
kishorenc
444633ce85 Merge branch 'master' into distinct-grouping
# Conflicts:
#	test/collection_test.cpp
2020-06-12 21:16:49 +05:30
kishorenc
ae66d6a8d0 Schema response should contain optional field value. 2020-06-12 20:57:26 +05:30