kishorenc
eef3a5a3de
Handle optional field for legacy records.
2020-03-07 08:59:38 +05:30
kishorenc
1ab25b9d16
Persist optional field value and restore during restart.
2020-03-06 07:38:46 +05:30
kishorenc
6c8e62a61b
Allow fields to be marked as optional in the schema.
...
Downside: optional fields cannot be used for sorting or marked as default sorting field.
2020-03-05 21:56:05 +05:30
kishorenc
eed10d554d
Sort results on custom order.
2020-03-04 20:27:33 +05:30
kishorenc
31e9e4719a
Compute stats on all facet values regardless of facet query.
2020-03-01 21:18:45 +05:30
kishorenc
95c8fb7082
Allow non-string fields to be facetable.
2020-02-26 22:59:01 +05:30
kishorenc
1369a473e4
Facet query partial highlighting + tests.
2020-02-22 21:43:57 +05:30
kishorenc
712d962cac
WIP: Highlight facet query results
2020-02-21 21:45:28 +05:30
kishorenc
4fa89ebf00
Implement facet filtering.
2020-02-17 21:59:47 +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
8900347eed
Add some comments to improve readability.
2020-02-15 18:25:32 +05:30
Kishore Nallan
c3298ba6d8
Address -Wall and -Wextra warnings.
2018-01-25 20:08:13 +05:30
Kishore Nallan
fe0db59877
Support indexing of bool fields.
2017-12-13 20:24:44 +05:30
Kishore Nallan
f347375adb
Compiles, but tests are failing.
2017-11-07 17:17:32 +05:30
Kishore Nallan
a7ba29666e
Float field type should be captialized.
2017-10-24 08:33:16 +05:30
Kishore Nallan
0e4517d901
Combine search, facet and sort fields into a single "fields".
...
1. All numerical fields are added to sort index automatically since that makes logical sense.
2. Search fields to be used as a facet are to have a `facet: true` property - removes duplication.
3. If someone wants to use a faceted field also to search against (rare scenario), then they can duplicate that field without the `facet: true` property.
2017-10-17 21:51:07 +05:30
Kishore Nallan
901626652a
Make type definitions less verbose.
...
Use string[] instead of STRING_ARRAY and so on.
2017-09-19 22:01:08 +05:30
Kishore Nallan
d351523655
Allow results to be sorted on a float field.
2017-08-20 21:15:48 +05:30
Kishore Nallan
e384b777a1
Collection operations on float fields.
2017-08-10 18:20:58 -04:00
Kishore Nallan
1992d92eaf
Tests for asc/desc sort order.
2017-05-14 12:25:59 +05:30
Kishore Nallan
f62247cd32
Make the sort_fields
take order of sorting.
2017-05-07 21:33:04 +05:30
Kishore Nallan
1baaa2b344
API - creating a new collection.
2017-04-29 17:39:42 +05:30
Kishore Nallan
4776b41dc1
Facet implementation.
2017-03-13 21:09:27 +05:30
Kishore Nallan
96921be016
Parse filter query string.
2017-03-06 21:17:13 +05:30
Kishore Nallan
14168c48fc
Support for "IN" style numerical filter.
2017-03-03 21:50:43 +05:30
Kishore Nallan
aa9945c3c0
Implemented filter on a single int32 value.
2017-02-12 12:51:28 +05:30
Kishore Nallan
cab0b36699
Skeleton for filter support.
2017-02-02 09:20:06 +05:30
Kishore Nallan
4e468fb0b9
Index and search on multi-valued numeric field.
2017-01-28 20:32:42 -06:00
Kishore Nallan
385e8cb7a2
Index and search on multi-valued string field.
2017-01-28 10:37:46 -06:00
Kishore Nallan
216ac7997a
Restore in-memory index on restart.
2017-01-24 22:13:49 -05:00
Kishore Nallan
2f08eca12e
Initial sketch for persisting meta information about collections.
2017-01-08 19:47:17 +05:30
Kishore Nallan
12276b651f
Base work for supporting multiple indexable fields.
2016-12-22 22:26:33 +05:30