45 Commits

Author SHA1 Message Date
Kishore Nallan
b817e615cb Ensure floating point precision is correct when faceted. 2021-05-21 19:01:39 +05:30
Kishore Nallan
999a62b64c Support use of backticks for wrapping string filter value. 2021-05-09 15:55:48 +05:30
Kishore Nallan
1d1712f391 Refactor tokenizer to use index, skip and separate logic. 2021-04-16 17:55:52 +05:30
kishorenc
b9f3829b43 Refactor query string parsing to not use regexp. 2021-03-03 19:47:02 +05:30
kishorenc
11c41804e5 Handle bad data gracefully. 2021-02-20 12:49:41 +05:30
kishorenc
e5c3cddfcc Log hash of key also when logging key prefix. 2021-02-19 13:11:35 +05:30
kishorenc
6997e35f72 Combine various token operations in a single flow.
Splitting, normalizing etc. are now done in a single loop.
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
Kishore Nallan
a692553909 Support single document upsert. 2020-10-22 19:02:06 +05:30
Kishore Nallan
60d4e9bf5a Support upsert during import. 2020-10-10 18:09:17 +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
80a3e0fb87 Throttle imports.
Ensure that other queries are not blocked when an import is in progress.
2020-08-18 18:32:19 +05:30
kishorenc
0cdd58e86c Validate group limit & other numerical parameters of search. 2020-06-30 15:58:32 +05:30
kishorenc
ba80f06001 Generate whole key without relying on seed based generation. 2020-06-25 17:09:07 +05:30
kishorenc
f1d0f279c7 Support for pinning and hiding hits during query time. 2020-05-21 12:46:51 +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
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
df08df5d96 Exit cleanly from raft service on validation errors. 2020-03-17 07:43:22 +05:30
kishorenc
31e9e4719a Compute stats on all facet values regardless of facet query. 2020-03-01 21:18:45 +05:30
kishorenc
67c2169b88 Fixed an issue with facet query containing multiple tokens. 2020-02-18 20:30:15 +05:30
kishorenc
dfbe3888d8 Refactor facet search to use hash based mapping.
Also fixed a bug where filter fields marked as facets were being searched only verbatim.
2020-02-16 17:41:17 +05:30
kishorenc
457bbcf467 Ensure strings with both ASCII and non-ASCII entities are indexed properly.
Earlier, such strings were being indexed only partially in certain cases.
2019-10-03 19:22:29 +05:30
Kishore Nallan
c1b9501351 Lay foundations for overriding search results. 2019-08-10 19:46:37 +05:30
Kishore Nallan
ad72f36dd6 Address valgrind warnings. 2018-09-04 16:44:38 +05:30
Kishore Nallan
3c98931c0e Improve unicode normalization.
Normalize latin characters like ß to their near equivalent ASCII representations.
2018-08-18 16:31:18 -04:00
Kishore Nallan
ad42c40e6d Add health check end-point. 2018-08-15 09:50:43 -04:00
Kishore Nallan
4f1736124b Use heap allocation rather than stack allocation for topster data. 2018-05-04 20:23:28 +05:30
Kishore Nallan
e558257b5f Remove dependency on miniutf. 2018-04-02 19:08:36 +05:30
Kishore Nallan
ddcb89843f Experimenting with ICU linking options. 2018-04-02 18:10:09 +05:30
Kishore Nallan
55ac4feb08 Normalize unicode characters using ICU. 2018-04-02 11:26:32 +05:30
Kishore Nallan
70d95475d9 Made a few comments better. 2018-02-10 14:43:37 -08:00
Kishore Nallan
0f7530ed13 Serialize and deserialize next sequence id properly instead of string encoding. 2018-02-02 19:02:19 -05:00
Kishore Nallan
f8be8f4f6a Handle normalization of unicode elegantly. 2018-01-26 12:54:00 +00:00
Kishore Nallan
c3298ba6d8 Address -Wall and -Wextra warnings. 2018-01-25 20:08:13 +05:30
Kishore Nallan
491de5a325 Remove ascii special characters during string normalization.
Unicode special chars are retained verbatim - will be addressed in future.
2018-01-16 21:16:24 +05:30
Kishore Nallan
82403ff618 Extract token normalization to a separate function. 2017-10-22 20:26:01 +05:30
Kishore Nallan
6a465a0289 API for fetching all transactions from a given transaction sequence number.
Relying on RocksDB underlying APIs for that. The updates are sent in a Base64 encoding in the JSON response.
2017-08-31 09:42:11 +05:30
Kishore Nallan
e384b777a1 Collection operations on float fields. 2017-08-10 18:20:58 -04:00
Kishore Nallan
0bb8cf13bf Ensure that remove function really removes all auxillary indexing data structures. 2017-05-20 17:02:14 +05:30
Kishore Nallan
56c539d0df Expose search, sort and facet fields to the API. 2017-05-16 20:55:06 +05:30
Kishore Nallan
c698c3be1a Fix a few compile warnings/errors. 2017-03-30 18:25:37 +05:30
Kishore Nallan
96921be016 Parse filter query string. 2017-03-06 21:17:13 +05:30
Kishore Nallan
596430c036 Remove entry from rocksdb and art when required. 2016-10-05 21:24:40 +05:30
Kishore Nallan
ba33da1d51 Lots of code clean up.
* Move stuff out of main to classes
* Standardize naming conventions.
2016-08-07 14:55:26 -07:00