666 Commits

Author SHA1 Message Date
kishorenc
ae6ea0ba6c Use malloc/free consistently for managing array buffer. 2020-06-19 12:14:55 +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
c5010a6a5f Results count should match group size for group query. 2020-06-14 17:16:01 +05:30
kishorenc
1c398fac7e Don't require query fields for wildcard query. 2020-06-14 15:22:20 +05:30
kishorenc
3b68a81515 Ensure timeouts are cleared before destroying evloop. 2020-06-14 15:20:31 +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
kishorenc
81dfe76009 Float array field should accept integer values. 2020-06-12 20:40:15 +05:30
kishorenc
9867ca5e29 Handle deletion of records with optional fields. 2020-06-10 22:05:59 +05:30
kishorenc
07456a5c6a Handle deletion of records with optional fields. 2020-06-10 21:59:56 +05:30
kishorenc
b7dcb7367b Expose group by params. 2020-06-10 19:58:55 +05:30
kishorenc
a6a2000ddc Use proc meminfo for available memory on Linux. 2020-06-10 11:01:22 +05:30
kishorenc
8ffb9c5154 Reuse KV pointers instead of copying as objects. 2020-06-07 17:36:27 +05:30
kishorenc
c452fa0db1 Make iteration of curated IDs respect max hits. 2020-06-06 20:50:32 +05:30
kishorenc
b97c37215a Basic distinct test is passing. 2020-06-06 15:14:53 +05:30
kishorenc
8f458640fd Choose sift down/up based on array size. 2020-06-06 13:20:42 +05:30
kishorenc
2c22f9b2e1 Merge branch 'master' into distinct-grouping 2020-06-05 20:42:35 +05:30
kishorenc
5b2407433f Refactor topster to support grouping. 2020-06-05 20:41:51 +05:30
kishorenc
45d7e7eae1 Update README. 2020-06-01 15:11:15 +05:30
kishorenc
2dcd813c6d Return an error when per page param exceeds in-built limit. 2020-05-31 13:01:08 +05:30
kishorenc
ccf97727a5 Fix type of API key ID returned in the delete end-point. 2020-05-31 09:52:21 +05:30
kishorenc
0a1b28b501 Log warning when search only API key is set via configuration. 2020-05-31 09:47:46 +05:30
kishorenc
67185c9ee1 Limit per_page to a sane number. 2020-05-31 09:28:50 +05:30
kishorenc
a4a51846f7 Calculate max_hits dynamically from per_page and page params.
So we no longer need this parameter to be exposed.
2020-05-30 16:08:13 +05:30
kishorenc
2fd6b9bcf5 Merge branch 'master' into distinct-grouping 2020-05-30 12:02:37 +05:30
kishorenc
377394e793 Remove search-only-api-key server argument.
The API key generation end-point should be use for generating keys with specific ACL.
2020-05-30 11:09:35 +05:30
kishorenc
eced0873c2 Remove some duplication in topster. 2020-05-29 09:14:31 +05:30
kishorenc
59131d1333 Fix API response for key creation. 2020-05-27 19:18:05 +05:30
kishorenc
97763e3d6b Convert memory_used_process_bytes to bytes. 2020-05-26 18:34:14 +05:30
kishorenc
2d169df65f Handle bad request body for key creation. 2020-05-26 18:33:17 +05:30
kishorenc
37ab4ec783 Fix build. 2020-05-23 16:31:01 +05:30
kishorenc
1025876cde Update README 2020-05-23 15:41:33 +05:30
kishorenc
e73682d1fc Update build scripts. 2020-05-23 15:41:08 +05:30
kishorenc
2cf67d0c1e Pinned and hidden hits will take precedence over override rules. 2020-05-22 07:50:02 +05:30
kishorenc
f3563ed56c Validate more integer parameters. 2020-05-21 21:33:21 +05:30
kishorenc
6b754ec37b Validate max_hits before parsing as integer. 2020-05-21 21:25:15 +05:30
kishorenc
f1d0f279c7 Support for pinning and hiding hits during query time. 2020-05-21 12:46:51 +05:30
kishorenc
6af35f5de8 Allow max_hits to be specified as "all". 2020-05-21 11:19:15 +05:30
kishorenc
a3024a7342 Fixed an edge case in fuzzy search with SKU-like tokens. 2020-05-20 19:17:43 +05:30
kishorenc
554154139c Generate random API key post installation. 2020-05-18 19:24:48 +05:30
kishorenc
5bb3e062da Update H2O. 2020-05-18 19:24:15 +05:30
kishorenc
2fa42c13ea Disable TLS v1.0 and v1.1 2020-05-18 08:40:11 +05:30
kishorenc
2be7b26393 Bump h2o to 2.2.6 2020-05-14 20:12:53 +05:30
kishorenc
9b86cba70d Do not respond immediately for an async call. 2020-05-14 19:56:48 +05:30
kishorenc
b6eff44f07 Include year in logs. 2020-05-14 19:37:47 +05:30
kishorenc
aaf4022028 Expose API key management, aliasing and overrides. 2020-05-13 14:00:53 +05:30