21 Commits

Author SHA1 Message Date
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