1041 Commits

Author SHA1 Message Date
kishorenc
ad28540fdc Manage lifecycle of deferred_req_res_t better. 2021-04-06 14:12:15 +05:30
kishorenc
4b2beba0d9 Add validation for collection name. 2021-04-05 15:41:04 +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
693fcb0e7e Tweak default value for thread pool size and parallel coll loading. 2021-03-30 19:53:56 +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
bc0d01bb47 Parameterize thread pool size and collection load configs. 2021-03-29 15:18:47 +05:30
kishorenc
3159712ca3 Remove support for init db snapshot.
Also, handle termination of follower process during import gracefully.
2021-03-26 12:27:04 +05:30
kishorenc
9f159b5d3d Clean shutdown. 2021-03-25 16:05:49 +05:30
kishorenc
28aa798175 Separate thread pools for http and collection processing.
Fixed a deadlock issue that happened on high concurrency when all threads were exhausted quickly.
2021-03-23 12:01:20 +05:30
kishorenc
46924be7c7 Refactor trie iteration to be score based. 2021-03-21 20:36:59 +05:30
kishorenc
063d7911b4 SSL cert loading: replace instead of add + validation. 2021-03-21 09:37:08 +05:30
kishorenc
c2eec85277 Fix highlighting of strings with special characters. 2021-03-20 12:58:30 +05:30
kishorenc
1387f1c21b Exact matches should be ranked above other matches. 2021-03-18 21:01:37 +05:30
kishorenc
f085354824 Copy only state snapshot directory for on-demand snapshots. 2021-03-17 16:12:46 +05:30
kishorenc
af6d2e94e5 Load collections parallelly during start up. 2021-03-12 16:38:51 +05:30
kishorenc
0c6a6d483a Protect access to node object. 2021-03-11 18:49:37 +05:30
kishorenc
f1d7d323b8 Handle repeating IDs for a numerical value during filtering. 2021-03-10 17:52:07 +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
8d4defa93e Parameterize catchup_min_sequence_diff. 2021-03-04 14:11:28 +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
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
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