558 Commits

Author SHA1 Message Date
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
1a65ad509b Address valgrind warning. 2021-02-21 22:17:27 +05:30
kishorenc
d2a825799b Make default sorting field optional. 2021-02-21 19:55:31 +05:30
kishorenc
b191a74016 Fix edge case in less than numerical comparison. 2021-02-20 19:15:28 +05:30
kishorenc
11c41804e5 Handle bad data gracefully. 2021-02-20 12:49:41 +05:30
kishorenc
a978db9252 Merge branch '0.19.0.post' into 0.20.0-rc 2021-02-19 15:10:36 +05:30
kishorenc
206b555646 Add guards around metrics access. 2021-02-19 13:11:57 +05:30
kishorenc
e5c3cddfcc Log hash of key also when logging key prefix. 2021-02-19 13:11:35 +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
5dc7df793c Merge branch '0.18.0-patches' into 0.20.0-rc
# Conflicts:
#	include/auth_manager.h
#	include/collection_manager.h
#	include/http_server.h
#	src/auth_manager.cpp
#	src/collection_manager.cpp
#	src/http_server.cpp
2021-02-16 12:54:42 +05:30
kishorenc
09530e3415 Fix race condition in condition variable notify/wait. 2021-02-15 18:23:42 +05:30
kishorenc
53eb2e6cbd Fix test ordering. 2021-02-13 14:02:20 +05:30
kishorenc
bb530f259e Handle concurrent access of DB handle. 2021-02-12 19:42:40 +05:30
kishorenc
e2882c5828 Fix race condition in snapshot restoration. 2021-02-12 19:10:57 +05:30
kishorenc
0175ac0df4 Support auth against multiple collections.
# Conflicts:
#	include/auth_manager.h
#	include/collection_manager.h
#	include/http_server.h
#	src/auth_manager.cpp
#	src/collection_manager.cpp
2021-02-11 19:17:18 +05:30
kishorenc
0e7f290bbf Refactor sort field clause to account for geopoint. 2021-02-11 07:59:30 +05:30
kishorenc
4eb7058568 Point datatype for basic geo queries. 2021-02-07 19:55:55 +05:30
kishorenc
17fbbd0838 Refactor concurrency model. 2021-02-06 20:17:18 +05:30
Jason Bosco
4e8b6613dc Log stack trace lines separately to retain formatting 2021-01-30 13:26:37 -08:00
Jason Bosco
60799111be Improve facet aggregation performance 2021-01-29 23:21:15 -08:00
Jason Bosco
ed6a4ecc00 Fix import edge case crashes 2021-01-29 23:20:50 -08:00
Jason Bosco
009e67815c Make on-demand snapshot endpoint asynchronous. 2021-01-29 13:58:14 -08:00
Jason Bosco
0ad8c48115 Range operator for numerical filtering. 2021-01-29 13:57:52 -08:00
Jason Bosco
3d8f6fe43f Further improvements to filter performance 2021-01-26 22:27:01 -08:00
Jason Bosco
467b91d6da Fix stability of stack traces on Linux 2021-01-24 08:05:12 -08:00
Jason Bosco
c8b4d5fbed Address multi search quirks 2021-01-24 08:04:23 -08:00
Jason Bosco
ceaee0fb80 Speed up numerical filtering 2021-01-23 19:58:20 -08:00
Jason Bosco
171e94f593 Multi search end-point 2021-01-23 07:58:26 -08:00
Jason Bosco
eed5d61c15 Validate override configuration during creation 2021-01-23 07:45:35 -08:00
Jason Bosco
8b4e07cb81 Configuration to log slow requests 2021-01-23 07:44:59 -08:00
Jason Bosco
0306242d59 Add limit_hits param for restricting total results 2021-01-22 21:37:36 -08:00
Jason Bosco
c110f8ecff Dynamic expansion of max hits 2021-01-22 20:20:37 -08:00
Jason Bosco
a08fb7738f Exhaustive token searching with filter_ids 2021-01-22 20:06:18 -08:00
Jason Bosco
bcea70ebfd Add windowed stats endpoint 2021-01-22 16:52:27 -08:00
Jason Bosco
d2206168ec Forward patch request to leader 2021-01-22 16:51:57 -08:00
Jason Bosco
52287b263d Add line numbers to stack trace 2021-01-22 16:48:10 -08:00
kishorenc
b2fba69a73 Address some warnings related to update doc scrubbing. 2020-12-28 19:20:00 +05:30
kishorenc
59f95dbf67 Use max_hits parameter for consistent pagination.
This will not affect wildcard queries or single field queries.
2020-12-28 19:20:00 +05:30
kishorenc
3f0bb24b45 Synonym response should not leak underlying structure. 2020-12-28 19:20:00 +05:30
kishorenc
302cdf137b Fix field-wise num results used for threshold matching. 2020-12-28 19:20:00 +05:30
kishorenc
bc1d88f1eb Consider tokens matching across fields during ranking. 2020-12-28 19:20:00 +05:30
kishorenc
10fd97c32d Node vote API for triggering leader rotation. 2020-12-28 19:20:00 +05:30
kishorenc
66a44a5afc Expose field weights used for scoring. 2020-12-28 19:20:00 +05:30
kishorenc
667eee1dad Use weighted scoring of fields for matching.
For now, weights are not exposed, but this is possible in future.
2020-12-28 19:20:00 +05:30
kishorenc
435476df5d Rank prefix match below exact match. 2020-12-28 19:19:59 +05:30
kishorenc
590aed7f0e Give highest priority to field order while ranking. 2020-12-28 19:19:59 +05:30
kishorenc
d7f94aa25a Remove field based match score aggregation in topster.
This is now handled outside.
2020-12-28 19:19:59 +05:30
kishorenc
8f818f7fcb More exhaustive multi-field ranking. 2020-12-28 19:19:59 +05:30