175 Commits

Author SHA1 Message Date
kishorenc
7d6a266934 Validate field data types during collection creation. 2020-11-17 20:10:34 +05:30
kishorenc
eaea93c572 Delete documents matching a filter query. 2020-11-17 20:10:34 +05:30
kishorenc
9533b73609 Fixed a few higlighting/splitting edge cases. 2020-11-17 20:10:34 +05:30
kishorenc
6c1455bc2f Return matched tokens in highlight response structure.
Also, allows customization of the highlighting tag used (default being the mark tag).
2020-11-17 20:10:34 +05:30
kishorenc
b2cce4f336 Allow colon to be present in filter query value. 2020-11-07 13:52:52 +05:30
Kishore Nallan
908a8b0026 [Bug] String array field update + faceting.
Updates to string array fields were triggering a crash during faceting due to mismatch in array position.
2020-11-03 19:36:25 +05:30
Kishore Nallan
bfddcb9e13 Fix typo. 2020-10-25 10:13:15 +05:30
Kishore Nallan
f836a633b6 Ensure that ID in the path and body match. 2020-10-25 08:55:44 +05:30
Kishore Nallan
bdbb097ad2 Fix upsert not fetching document correctly. 2020-10-25 07:42:44 +05:30
Kishore Nallan
347a2a1ece Add more tests for update/upsert/create scenarios. 2020-10-24 17:17:39 +05:30
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
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
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
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
09541e5311 Parameterize number of indices per collection. 2020-08-19 12:29:59 +05:30
kishorenc
e2c0b52671 Free request & response objects via generator dispose callback. 2020-08-17 11:53:04 +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
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
933cbe9bb0 More tests. 2020-06-22 08:29:35 +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
1c398fac7e Don't require query fields for wildcard query. 2020-06-14 15:22:20 +05:30
kishorenc
50dba3ec43 Fixed an edge case in filtering int64 values. 2020-06-13 11:12:46 +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
2dcd813c6d Return an error when per page param exceeds in-built limit. 2020-05-31 13:01:08 +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
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
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
da5b860661 Excluded fields should not be present in highlights. 2020-05-05 19:40:18 +05:30
kishorenc
559ee3369a Call the string similarity score as _text_match to reduce ambiguity. 2020-04-05 09:15:20 +05:30
kishorenc
16a1285a9b Add facet query tests for overrides. 2020-03-27 20:06:33 +05:30
kishorenc
c982335bdd Fix tests. 2020-03-17 07:53:41 +05:30
kishorenc
206fe5b833 Expose typo_tokens_threshold parameter.
If the number of results found for a specific query is less than this number, Typesense will attempt to look for tokens with more typos until enough results are found.
2020-03-07 12:31:05 +05:30