810 Commits

Author SHA1 Message Date
Kishore Nallan
2925b2e8d1 Store auth inside request. 2022-07-07 09:37:27 +05:30
Kishore Nallan
b115caa23a Fix ip address in slow request logging. 2022-07-01 12:52:06 +05:30
Kishore Nallan
9e5c3ed8b2 Status endpoint for tracking lag against leader. 2022-06-30 18:44:59 +05:30
Kishore Nallan
4e05964e77 Fix filter intersection regression. 2022-06-28 13:24:03 +05:30
Kishore Nallan
f5808532fa Allow split join tokens to be configured in always mode.
Default remains as fallback.
2022-06-26 19:55:00 +05:30
Kishore Nallan
0ed59f6230 Extend use of max_candidates to facet searching as well. 2022-06-26 18:07:19 +05:30
Kishore Nallan
4d3f6dd0de Fix iterator skip performance. 2022-06-25 17:37:33 +05:30
Kishore Nallan
6c54c1f6c7 Optimize filtering + keyword searching. 2022-06-24 19:19:59 +05:30
Kishore Nallan
1e241e970d Better synchronization during slow request logging.
We also log slow requests >= 0 ms now.
2022-06-24 09:38:55 +05:30
Kishore Nallan
9f90c39b84 Wait until task queue is empty in threadpool shutdown.
Patching 578ba49c92
2022-06-23 17:00:02 +05:30
Kishore Nallan
e3d7a5932d Rely on nodes configuration for peer discovery. 2022-06-18 11:03:41 +05:30
Kishore Nallan
ec217bd7d7 Expose snapshot_max_byte_count_per_rpc param. 2022-06-17 15:24:26 +05:30
Kishore Nallan
f3af2319a3 Switch to managed snapshotting.
Ensures that a snapshot does not run when the peers are unhealthy (possibly recovering).
2022-06-17 11:31:48 +05:30
Kishore Nallan
3c5f843ce8 Merge branch 'main' into v0.24 2022-06-13 15:23:11 +05:30
RedSnail
ccb05375b7
Option to return document ID and body in import response. (#615)
* have a strange error, I'll try to compile without changes

* added return_id keyword which returns only id

* added test entry and also added test option to docker-build.sh

* sorry, I can't run tests my self, so i run it with your CI

* It didn't work 'cause i've been writing in python for too long :)
2022-06-13 10:21:44 +05:30
Kishore Nallan
a9a2d8cc11 Synonym queries should preserve prefix option. 2022-06-08 14:33:45 +05:30
Kishore Nallan
223b104823 Introduce option to rank text by token position. 2022-06-07 11:00:24 +05:30
Kishore Nallan
0da51cb874 Support sort_by in overrides. 2022-06-05 18:00:41 +05:30
Kishore Nallan
4967e48769 Don't create access log file unless access logging is enabled. 2022-06-02 18:32:43 +05:30
Kishore Nallan
069d7eb998 Merge branch 'master' into v0.23 2022-06-02 10:40:41 +05:30
Kishore Nallan
d4cfe81a90 Allow missing values sort config on numerical fields. 2022-05-30 13:33:57 +05:30
Kishore Nallan
a409df8dad Fix verbatim match on array. 2022-05-29 19:24:55 +05:30
Kishore Nallan
cf3b28bb77 String sort: allow missing values to be sent to either end. 2022-05-28 17:27:22 +05:30
Kishore Nallan
e68458aff3 Don't allow field with same name as regexp field pattern. 2022-05-26 15:07:09 +05:30
Alex Ball
2685917ca4 Fix typo in TYPESENSE_API_ADDRESS env handling 2022-05-23 20:36:06 -04:00
Kishore Nallan
d935cb4041 Fix proper prefix expansion. 2022-05-19 16:12:33 +05:30
Kishore Nallan
0e2257dc29 Fix max_candidates behavior. 2022-05-13 17:41:11 +05:30
Kishore Nallan
d83745a6eb Log address in slow request logs. 2022-05-12 13:10:07 +05:30
Kishore Nallan
73cc256e2f Add guard for protecting writes from low disk space. 2022-05-10 07:46:39 +05:30
Kishore Nallan
8eb19f70a5 Account for token separator during upsert/removal. 2022-05-08 21:14:07 +05:30
Kishore Nallan
284c3d0dc7 Fix alter on dynamic fields. 2022-05-07 20:52:28 +05:30
Kishore Nallan
b6908f2f81 Add test for missing fields property in schema change. 2022-04-30 19:19:25 +05:30
Kishore Nallan
da672d3629 Fix access logging cmdline flag. 2022-04-30 14:33:42 +05:30
Kishore Nallan
b3b591d9dd Option to log requests. 2022-04-27 16:53:15 +05:30
Kishore Nallan
9cfe72da7e Auth multi_search only when whole body is available. 2022-04-27 13:03:57 +05:30
Kishore Nallan
305a9bc348 Don't multiplex deletes by default. 2022-04-25 08:37:07 +05:30
Kishore Nallan
e175068533 Improve sorting during filtering. 2022-04-21 13:48:26 +05:30
Kishore Nallan
0a308b70c0 Alter for dynamic fields. 2022-04-20 07:45:12 +05:30
Kishore Nallan
93c31be88f Cover missing curated hits with hits below. 2022-04-15 15:38:05 +05:30
Kishore Nallan
21c31de3b8 Ensure that topster is fully stable on equal values. 2022-04-15 11:03:46 +05:30
Kishore Nallan
bba8c5feb2 Fix highlighting around puncutation. 2022-04-14 15:21:05 +05:30
Kishore Nallan
5b462f5233 Drop/readd within same schema change set. 2022-04-14 12:23:38 +05:30
Kishore Nallan
d4e5c36b7f Port id_buff based aggregated collation. 2022-04-13 14:36:09 +05:30
Kishore Nallan
b502f5ddb8 Make cors domains a separate parameter.
Also fixes --enable-cors flag parsing issue.
2022-04-13 11:13:24 +05:30
Kishore Nallan
3f9544535c Ensure that synonyms are ranked equally. 2022-04-12 08:04:43 +05:30
Kishore Nallan
f92b8f59bb Handle max candidates independent of exhaustive search. 2022-04-10 20:53:41 +05:30
Kishore Nallan
1dd791b0b7 Fix highlight glitch involving prefix tokens. 2022-04-07 11:16:31 +05:30
Kishore Nallan
4889fba179 OR based token intersection. 2022-04-05 17:50:30 +05:30
Kishore Nallan
d6cab80dde Return filter_curated_hits in override response. 2022-03-26 16:02:23 +05:30
Kishore Nallan
a5b06a0e0d Schema change basics. 2022-03-26 08:22:40 +05:30