980 Commits

Author SHA1 Message Date
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
e7200f7ba0 Log catchup_min_sequence_diff. 2021-03-04 14:11:40 +05:30
kishorenc
8d4defa93e Parameterize catchup_min_sequence_diff. 2021-03-04 14:11:28 +05:30
kishorenc
6fa6fd9258 More tests for query string parsing. 2021-03-04 14:11:18 +05:30
kishorenc
206f08db6f Use absolute difference when comparing offset lags. 2021-03-03 20:05:56 +05:30
kishorenc
b9f3829b43 Refactor query string parsing to not use regexp. 2021-03-03 19:47:02 +05:30
kishorenc
33f705cace Geo polygon filtering. 2021-03-03 07:23:25 +05:30
kishorenc
cfc922c6f0 Remove use of doc meta key as it's not needed anymore. 2021-02-28 19:23:41 +05:30
kishorenc
9e78a6f8d5 Free curl_slist after use. 2021-02-28 16:39:32 +05:30
kishorenc
95ee14350a Use shared_ptr to handle req/res life cycles. 2021-02-28 12:48:20 +05:30
kishorenc
e5812cc9db Address valgrind warnings. 2021-02-25 16:57:38 +05:30
kishorenc
4e3307a891 Use string* to specify string/string array coercion. 2021-02-25 15:07:37 +05:30
kishorenc
3a4d21992c Fix edge cases in schema detection. 2021-02-24 21:38:55 +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
3c8d9a8aeb Ensure that http layer returns proper error message during search. 2021-02-22 10:18:53 +05:30
kishorenc
a854fe9858 Properly memset after malloc. 2021-02-22 09:52:45 +05:30
kishorenc
1618007cd8 Make fields in schema completely optional. 2021-02-22 07:45:03 +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
222ab345be Properly handle deleting collection via an alias. 2021-02-20 20:05:54 +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
Jason Bosco
87883da952 Update README.md 2021-02-17 21:04:58 -08:00
Jason Bosco
2b4d3a3b75 Update README.md 2021-02-17 16:11:41 -08:00
kishorenc
df32c32497 Fix build. 2021-02-16 17:58:54 +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
7373fa01ab Upgrade valgrind Dockerfile. 2021-02-16 09:05:07 +05:30
kishorenc
caf7b1ec4a Handle bad import request params freezing writes. 2021-02-15 19:30:44 +05:30
kishorenc
6de60867d8 Return collection name as part of search response. 2021-02-15 18:56:53 +05:30
kishorenc
09530e3415 Fix race condition in condition variable notify/wait. 2021-02-15 18:23:42 +05:30
kishorenc
59c16ddbd9 Handle abrupt shutdown better. 2021-02-14 13:56:09 +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
159e39f76c Merge branch '0.18.0-patches' into 0.20.0-rc 2021-02-10 15:47:42 +05:30
Jason Bosco
d058d6165e Address valgrind warning 2021-02-09 10:33:08 -08:00
Jason Bosco
7be56bd572 Ensure that RPM does not overwrite existing config file 2021-02-08 19:17:04 -08:00
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
e44997d408 Fixes #213 2021-02-05 14:55:38 -08:00