kishorenc
dd72e2a78c
Introduce field level locale.
2021-04-02 21:28:49 +05:30
kishorenc
6c284dba17
Allow searching against string* fields.
2021-03-29 20:09:00 +05:30
kishorenc
9c448793bd
Use of dynamic fields should activate coerce_or_reject.
2021-03-29 16:52:08 +05:30
kishorenc
bd43fc10bc
Use ".*" for catch-all auto field definition.
2021-03-10 12:34:15 +05:30
kishorenc
ec5bc54e6d
Fix typo.
2021-03-09 17:37:12 +05:30
kishorenc
75caa2ab01
Allow fields to be marked as non-indexable.
2021-03-09 09:37:52 +05:30
kishorenc
42732c454d
Handle bad bool field coercion.
2021-03-08 14:41:07 +05:30
kishorenc
0fb5c25d2c
Allow faceting to be configurable via dynamic fields.
2021-03-06 16:41:05 +05:30
kishorenc
46856701d6
Use sparse map for facet values.
2021-03-06 11:48:22 +05:30
kishorenc
33f705cace
Geo polygon filtering.
2021-03-03 07:23:25 +05:30
kishorenc
4e3307a891
Use string* to specify string/string array coercion.
2021-02-25 15:07:37 +05:30
kishorenc
0a9cf4aee0
Add more tests for testing schema detection.
2021-02-23 20:04:37 +05:30
kishorenc
f1b70384cc
Allow fields to be stringified automatically.
2021-02-23 12:58:14 +05:30
kishorenc
c24fc02d4d
Persist per-doc coerce setting + allow dropping of bad values.
2021-02-23 09:35:36 +05:30
kishorenc
d2a825799b
Make default sorting field optional.
2021-02-21 19:55:31 +05:30
kishorenc
11c41804e5
Handle bad data gracefully.
2021-02-20 12:49:41 +05:30
kishorenc
e9df6e58e2
Allow indexing of fields without pre-defined schema.
...
# Conflicts:
# include/collection.h
# include/index.h
# src/collection.cpp
# src/collection_manager.cpp
2021-02-18 19:08:42 +05:30
kishorenc
4eb7058568
Point datatype for basic geo queries.
2021-02-07 19:55:55 +05:30
Jason Bosco
60799111be
Improve facet aggregation performance
2021-01-29 23:21:15 -08:00
Jason Bosco
0ad8c48115
Range operator for numerical filtering.
2021-01-29 13:57:52 -08:00
kishorenc
8c51e3f920
Support operators in multi-valued numerical filter.
2020-12-28 19:19:59 +05:30
kishorenc
7d6a266934
Validate field data types during collection creation.
2020-11-17 20:10:34 +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
c5010a6a5f
Results count should match group size for group query.
2020-06-14 17:16:01 +05:30
kishorenc
10c22c174a
Consider grouping when generating facet counts.
2020-06-14 08:14:03 +05:30
kishorenc
559ee3369a
Call the string similarity score as _text_match to reduce ambiguity.
2020-04-05 09:15:20 +05:30
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