1464 Commits

Author SHA1 Message Date
Kishore Nallan
71f2e61282 Remove jemalloc usage check.
This change also removes usage of dlsym, whose API seems to have changed in recent glibc version, so breaking Typesense on newer Ubuntu/Fedora: https://stackoverflow.com/a/18825060/131050
2021-12-05 07:41:43 +05:30
Kishore Nallan
6957177e10 Add back git, needed for CI. 2021-12-04 20:16:43 +05:30
Kishore Nallan
859028a767 Fix CI. 2021-12-04 19:58:56 +05:30
Kishore Nallan
519ddfb5ba Use new docker image for build. 2021-12-04 19:07:49 +05:30
Kishore Nallan
baa8f55787 More ARM patches. 2021-12-04 13:01:26 +05:30
Kishore Nallan
f12aa9df3f Patches for ARM. 2021-12-03 14:24:25 +05:30
Kishore Nallan
fa649d1b9d Add test for cyrillic drop tokens. 2021-12-02 16:30:04 +05:30
Kishore Nallan
bd6fd1c03e Improve Cyrillic support. 2021-12-02 16:17:01 +05:30
Kishore Nallan
54148545d0 Merge branch 'single-index-concurrency' into v0.23
# Conflicts:
#	test/collection_specific_test.cpp
2021-12-01 16:41:57 +05:30
Kishore Nallan
f1b4b8c2a2 Handle single hyphen token in query.
Should not be treated as an exclusion filter.
2021-12-01 14:40:53 +05:30
Kishore Nallan
1f4384797e Merge branch 'single-index-concurrency' into v0.23
# Conflicts:
#	test/collection_specific_test.cpp
2021-12-01 11:12:42 +05:30
Kishore Nallan
339300dcd0 Lowercase unicode while tokenization. 2021-11-30 20:20:19 +05:30
Kishore Nallan
11f919c4f8 Use set for batch indexer request restore. 2021-11-30 19:35:41 +05:30
Kishore Nallan
1bd028e951 Fix warning. 2021-11-30 16:51:41 +05:30
Kishore Nallan
6ded5c7556 Fix posting list deletion edge case. 2021-11-30 15:56:25 +05:30
Kishore Nallan
d9b969aab5 Sort queued requests by timestamp before restore. 2021-11-30 14:21:12 +05:30
Kishore Nallan
cec0779bb2 Add coll drops. 2021-11-26 21:08:24 +05:30
Kishore Nallan
b14458efd4 Handle updates of repeating records within the same batch. 2021-11-26 19:35:50 +05:30
Kishore Nallan
8ec653c3e6 Check for connection status before responding. 2021-11-26 15:11:23 +05:30
Kishore Nallan
b088bad83b Use gzip compression for DEB. 2021-11-25 19:05:41 +05:30
Kishore Nallan
a21628207e Refactor grouping with sorting. 2021-11-24 20:20:21 +05:30
Kishore Nallan
69345d37ce Revert "[RPM] Ensure typesense service is stopped before starting."
This reverts commit 514824b76b3221998f2d35816a7878ad9c9ffd66.
2021-11-24 12:02:08 +05:30
Kishore Nallan
d67d0d6a65 [RPM] Ensure typesense service is stopped before starting.
Work around for a systemd bug: https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/issues/41#note_688450126
2021-11-23 18:16:08 +05:30
Kishore Nallan
f45416be0c Only last token should prefix search during drop tokens. 2021-11-23 18:12:38 +05:30
Kishore Nallan
72b4025232 Remove stray logs. 2021-11-23 08:56:29 +05:30
Kishore Nallan
e96039a1e5 Merge branch 'gh-437' into single-index-concurrency 2021-11-23 08:53:03 +05:30
Kishore Nallan
97b1981fcd Buffer IDs during exhaustive search. 2021-11-22 15:18:37 +05:30
Kishore Nallan
55ad455804 Improve intersected filtering perf. 2021-11-22 12:29:11 +05:30
Kishore Nallan
ef47f54d11 Improve fuzzy search filtering perf. 2021-11-21 12:51:21 +05:30
Kishore Nallan
f0b09e6c07 Basics of treating space as typo. 2021-11-21 07:53:27 +05:30
Kishore Nallan
237b67816d Don't enable search cutoff by default. 2021-11-20 15:05:46 +05:30
Kishore Nallan
ceab0e8234 Speed up search inside multi-field aggregation. 2021-11-20 12:00:09 +05:30
Kishore Nallan
0626ca8cf6 Speed up search inside multi-field aggregation. 2021-11-20 11:59:46 +05:30
Kishore Nallan
4cb6d7926a Log multi-field aggregation time. 2021-11-19 22:19:25 +05:30
Kishore Nallan
d2798ac00b Log times for operations. 2021-11-19 19:32:00 +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
866b5820f3 No search cutoff default if exhaustive search is used. 2021-11-17 21:09:55 +05:30
Kishore Nallan
58f3d4bf66 Handle null-value updates + errors during indexing. 2021-11-17 13:23:42 +05:30
Kishore Nallan
076d5f6711 Disable short circuit for filtering. 2021-11-15 07:30:26 +05:30
Kishore Nallan
34e5221d94 Add cache_ttl protection for multi search. 2021-11-14 21:22:52 +05:30
Kishore Nallan
8ff57108fa Add end-point for clearing cache. 2021-11-14 18:55:52 +05:30
Kishore Nallan
cd09bf7d88 Allow cache ttl to be set only within scoped key. 2021-11-14 18:28:48 +05:30
Kishore Nallan
cdfbc4c1b5 Reserve vector when length is known. 2021-11-14 17:53:29 +05:30
Kishore Nallan
24cce48bc2 Support use of strict equals + backtick on ID field. 2021-11-13 16:11:47 +05:30
Kishore Nallan
483afa5b34 Fix search cutoff for wildcard filtering. 2021-11-13 13:55:12 +05:30
Kishore Nallan
13d4c14889 Fix exact matching regression. 2021-11-13 10:51:50 +05:30
Kishore Nallan
06dc53dcf2 Allow optional fields to be updated with null value. 2021-11-12 20:03:00 +05:30
Kishore Nallan
14f4c3e834 Field wise indexing. 2021-11-11 19:11:06 +05:30
Kishore Nallan
6d68fbf922 Add consts. 2021-11-11 16:23:52 +05:30
Kishore Nallan
9331f996eb Add guard for http path being empty. 2021-11-09 07:39:02 +05:30