77 Commits

Author SHA1 Message Date
Kishore Nallan
bd6fd1c03e Improve Cyrillic support. 2021-12-02 16:17:01 +05:30
Kishore Nallan
774f3d3ce3 Move facet tokens and groups to separate maps.
This speeds up faceting and reduces memory footprint during faceting.
2021-11-18 12:38:12 +05:30
Kishore Nallan
99721213ec Change map ds for sort aggregation. 2021-11-07 16:45:14 +05:30
Kishore Nallan
549d1a7da3 Allow wildcard field to be non-indexable.
Also ensure facet: true not allowed when index: false.
2021-11-03 19:51:11 +05:30
Kishore Nallan
a3def7dc5b Simplify facet value filtering. 2021-11-02 16:43:28 +05:30
Kishore Nallan
f9446841ed Accept null for field type auto and string* 2021-10-09 20:48:41 +05:30
Kishore Nallan
947a5019d9 Handle override with synonyms. 2021-10-02 08:07:08 +05:30
Kishore Nallan
043535ee6b Support array of geo points. 2021-09-24 12:43:26 +05:30
Kishore Nallan
70059dec15 Dynamic filtering using field interpolation. 2021-09-22 11:46:20 +05:30
Kishore Nallan
7b4450bbf9 Bake concurrency into a single index. 2021-08-31 13:11:50 +05:30
Kishore Nallan
331db4f27e Add precision option to geo field sorting. 2021-07-27 19:57:56 +05:30
Kishore Nallan
e45f18785f Ignore id field present in schema. 2021-07-26 19:44:10 +05:30
Kishore Nallan
0b28e9dc2c Remove deprecated default_resolution config for geo fields. 2021-07-14 11:44:01 +05:30
Kishore Nallan
0e967a9c44 Disallow use of type auto for a non-wildcard containing field. 2021-07-14 11:44:01 +05:30
Kishore Nallan
7c4aff5268 Implement exclude_radius option for geopoint sorting. 2021-07-14 11:44:01 +05:30
Kishore Nallan
9d08df38cf Fix packing/unpacking of lat lng. 2021-07-14 11:44:00 +05:30
Kishore Nallan
e0dc73af3e Swap out underlying geo library. 2021-07-14 11:44:00 +05:30
Kishore Nallan
5f2254d22a A string* field must be treated as optional by default. 2021-04-28 08:12:54 +05:30
kishorenc
3a92685967 Integrate with Kakasi. 2021-04-05 12:25:50 +05:30
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