kishorenc
ae66d6a8d0
Schema response should contain optional field value.
2020-06-12 20:57:26 +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
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
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
2d169df65f
Handle bad request body for key creation.
2020-05-26 18:33:17 +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
5bb3e062da
Update H2O.
2020-05-18 19:24:15 +05:30
kishorenc
aaf4022028
Expose API key management, aliasing and overrides.
2020-05-13 14:00:53 +05:30
kishorenc
d9b08d4a90
Handle membership changes more gracefully.
...
Check for majority going out of sync and reset peers when that happens.
2020-05-10 19:09:40 +05:30
kishorenc
bbc9c9780d
Expose system metrics via API.
2020-05-07 18:26:33 +05:30
kishorenc
6342465a30
Return server state in debug response.
2020-05-05 20:06:14 +05:30
kishorenc
5c15846bbb
Normalize proximity score for matches of equal length.
2020-05-05 10:25:41 +05:30
kishorenc
1395d74d48
Manage scoped search API keys.
2020-04-30 14:21:39 +05:30
kishorenc
29b4225461
API Key management.
2020-04-27 21:43:24 +05:30
kishorenc
1e656b092a
Refresh SSL certs from disk periodically (every 8h).
2020-04-18 19:56:07 +05:30
kishorenc
9ca4938045
Use nodes
instead of peers
for connection string.
2020-04-18 14:10:33 +05:30
kishorenc
3ac4cfa44b
Ensure that the peering service listens only on internal IP.
2020-04-17 18:41:38 +05:30
kishorenc
559ee3369a
Call the string similarity score as _text_match to reduce ambiguity.
2020-04-05 09:15:20 +05:30
kishorenc
8845917020
Symlink name must not conflict with a collection name.
2020-04-04 21:25:33 +05:30
kishorenc
51751032c0
Rename http response setters for clarity.
2020-04-02 18:43:23 +05:30
kishorenc
deeec05f69
Make health check consider underlying replication state.
2020-04-02 18:38:58 +05:30
kishorenc
b9bc0bd31a
Synchronize start of API and state services.
2020-04-02 14:38:55 +05:30
kishorenc
5d424b5d38
Implement PUT + fix JSON response for forwarded requests.
2020-04-02 13:41:59 +05:30
kishorenc
89690101ae
Make route_hash unsigned.
2020-04-01 18:30:06 +05:30
kishorenc
dd290884e5
Remove replication updates API.
2020-03-30 20:51:04 +05:30
kishorenc
3b3d9cfb01
Fix a route ordering issue introduced by using unordered map.
2020-03-26 21:12:17 +05:30
kishorenc
8829c5aebc
Allow customization of peering address.
...
This is an optional argument since Typesense automatically tries to bind on an internal IP. One needs to specify this only when there are multiple internal IPs.
2020-03-26 17:39:42 +05:30
kishorenc
75a1fe1e1d
Use hashmap for storing routes instead of an array.
...
The use of array index makes rolling updates tricky since requests might be forwarded to an instance running an older/newer version having a different route index.
2020-03-26 14:08:06 +05:30
kishorenc
88192820de
Free leaf indices during early return.
2020-03-26 14:05:59 +05:30
kishorenc
d3af2bff39
Drop support for rocksdb based replication.
2020-03-26 08:08:41 +05:30
kishorenc
8bfeeeb2ee
Fix forwarding of delete operations.
2020-03-25 21:31:56 +05:30
kishorenc
901795869d
Fix API server kicking in early before init readiness.
2020-03-25 08:48:01 +05:30
kishorenc
43231eaae3
Only start API service when peering service is stable.
2020-03-23 21:38:41 +05:30
kishorenc
3cb4c3a3b6
Reject writes to a follower when there is no leader.
2020-03-23 19:21:25 +05:30
kishorenc
b16614eb20
Follower should forward write requests to leader.
2020-03-23 08:53:58 +05:30
kishorenc
1cd9793d69
Reject writes to followers.
2020-03-20 22:31:40 +05:30
kishorenc
e057b64d9d
Migrate to butil logger.
2020-03-20 16:49:26 +05:30
kishorenc
c982335bdd
Fix tests.
2020-03-17 07:53:41 +05:30
kishorenc
df08df5d96
Exit cleanly from raft service on validation errors.
2020-03-17 07:43:22 +05:30