1728 Commits

Author SHA1 Message Date
Kishore Nallan
26fbad2c66 Return token separators and symbols to index in API. 2021-10-12 16:10:37 +05:30
Kishore Nallan
b17d5ab6df Refactor topster array free. 2021-10-12 12:57:57 +05:30
Kishore Nallan
82f8d2895d Add test for regexp field name + empty array. 2021-10-12 12:57:42 +05:30
Kishore Nallan
c1a1d883b0 Null values must not be indexed for auto/string* fields. 2021-10-10 07:32:00 +05:30
Kishore Nallan
f9446841ed Accept null for field type auto and string* 2021-10-09 20:48:41 +05:30
Kishore Nallan
dcfe626e97 Make use of sanitizer optional. 2021-10-09 18:19:33 +05:30
Kishore Nallan
4a3d2cc209 Allow indexing of null values for auto/string* fields. 2021-10-09 18:14:19 +05:30
Kishore Nallan
a365bf9677 Refactor type detection logic for auto/string* fields. 2021-10-09 17:22:01 +05:30
Kishore Nallan
0bc9574112 Further refactor indexing/response workflow. 2021-10-08 18:56:52 +05:30
Kishore Nallan
7276b7317b Merge branch 'single-index-concurrency' of github.com:typesense/typesense into single-index-concurrency 2021-10-07 20:44:46 +05:30
Kishore Nallan
87f18b03f3 Address concurrency edge case in import streaming.
Manage concurrent access by the req/res variables between batch indexer and http response threads.
2021-10-07 19:38:54 +05:30
Kishore Nallan
8a751daa89 Add shared lock for store delete range. 2021-10-07 19:29:24 +05:30
Kishore Nallan
ccee94375e Fix type detection in fields with regexp name. 2021-10-05 15:50:12 +05:30
Kishore Nallan
4d31644955 Fix type detection in fields with regexp name. 2021-10-05 15:13:11 +05:30
Kishore Nallan
1ad6619267 Polygon points used for filtering can be either CW or CCW.
Both clock-wise and anti-clock-wise now supported.
2021-10-04 19:38:43 +05:30
Kishore Nallan
1fa2193c50 Configurable 1-typo and 2-typo min token lengths. 2021-10-04 18:18:05 +05:30
Kishore Nallan
dbb688254e Fix edge case with ID-based filtering.
When no IDs match, no results should be found.
2021-10-04 13:54:11 +05:30
Kishore Nallan
644eefbad3 Handle early import abort gracefully. 2021-10-03 18:26:50 +05:30
Kishore Nallan
51c95dd764 Handle null header in leader curl response. 2021-10-03 17:43:29 +05:30
Kishore Nallan
0ace552ed7 Fix batch indexer shutdown sequence.
Has dependency on server, so must be shut down before.
2021-10-03 15:33:55 +05:30
Kishore Nallan
6da39ff51c Expose write stats. 2021-10-02 18:54:30 +05:30
Kishore Nallan
74f7d829bb Improve override tests + coverage. 2021-10-02 12:16:32 +05:30
Kishore Nallan
4c1dc3a495 Tweak locking for filtering. 2021-10-02 09:15:57 +05:30
Kishore Nallan
947a5019d9 Handle override with synonyms. 2021-10-02 08:07:08 +05:30
Kishore Nallan
36a26f3f40 Rename mutate_query_string -> remove_matched_tokens 2021-09-29 18:25:19 +05:30
Kishore Nallan
68a0e84cc0 Default search latency and rps to 0. 2021-09-29 18:22:12 +05:30
Kishore Nallan
6210e82390 Option to curtail expensive queries. 2021-09-29 11:48:26 +05:30
Kishore Nallan
c0602da4fc Parallelize parts of indexing. 2021-09-27 17:09:35 +05:30
Kishore Nallan
043535ee6b Support array of geo points. 2021-09-24 12:43:26 +05:30
Kishore Nallan
4596ca04c2 URL decode collection name in the API path.
If a collection name with space/special character is created, they can now be acted upon via their URL encoded version.
2021-09-23 13:07:06 +05:30
Kishore Nallan
70059dec15 Dynamic filtering using field interpolation. 2021-09-22 11:46:20 +05:30
Kishore Nallan
71b1a6e7a3 Add tests for collection extraction for auth. 2021-09-21 13:44:15 +05:30
Kishore Nallan
071750c663 Fix collection creation action auth. 2021-09-21 13:12:32 +05:30
Kishore Nallan
e3bf9f02d6 Expose number of pending writes as metric. 2021-09-21 12:04:08 +05:30
Kishore Nallan
39910c872a Capture search related metrics separately. 2021-09-21 11:40:41 +05:30
Kishore Nallan
d75e834ac3 Address warnings. 2021-09-19 21:39:15 +05:30
Kishore Nallan
5b0690fcd8 Allow filtering and deleting using doc IDs. 2021-09-19 18:38:43 +05:30
Kishore Nallan
25d29919ae Multiplex frequency + score based token selection. 2021-09-19 16:31:28 +05:30
Kishore Nallan
fc4da1983d Prevent duplicate searches. 2021-09-18 18:10:44 +05:30
Kishore Nallan
27b392cee9 Exhaustive search should not always be enabled during token drop search. 2021-09-18 15:59:35 +05:30
Kishore Nallan
6621280ffc Don't consider failed imports for progress calculation. 2021-09-14 08:50:06 +05:30
Kishore Nallan
703110264a Dropped tokens should not be prioritized as exact matches. 2021-09-13 16:23:56 +05:30
Kishore Nallan
902704887c Return total_values as part of facet stats, even for strings. 2021-09-10 21:18:21 +05:30
Kishore Nallan
1afa193161 Fix faceting count edge case. 2021-09-10 16:32:22 +05:30
Kishore Nallan
c6fe1369b9 Enable filtering via overrides. 2021-09-08 18:43:45 +05:30
Kishore Nallan
c0fce41c3b Ensure that an import batch cannot contain duplicate doc IDs. 2021-09-07 17:02:58 +05:30
Kishore Nallan
ba67efb7da Support zero weighting for multi-field match scoring. 2021-09-05 14:54:21 +05:30
Kishore Nallan
910256d82c Fix valgrind warnings. 2021-09-05 08:07:00 +05:30
Kishore Nallan
2317c6adb0 Tweak locking for filtering. 2021-09-04 20:01:38 +05:30
Kishore Nallan
4e16dd86e5 Don't attempt to aggregate facets when not requested. 2021-09-04 11:04:27 +05:30