3695 Commits

Author SHA1 Message Date
Ozan Armağan
18306e3dd2
Make HNSW params configurable (#1521) 2024-01-30 18:30:03 +05:30
Kishore Nallan
f9242dd4a5 Don't highlight very large docs > 64K words. 2024-01-28 17:47:43 +05:30
Harpreet Sangar
ec4311635e
Fix document update failing if reference field was not included. (#1515) 2024-01-27 12:26:36 +05:30
Kishore Nallan
525995c7e9 Make analytics event cache a member. 2024-01-26 22:14:02 +05:30
Kishore Nallan
e898daa0a1 Early return when analytics log not open. 2024-01-26 18:50:16 +05:30
Kishore Nallan
a290fd6205 Always populate ip address. 2024-01-26 18:49:01 +05:30
Kishore Nallan
71f905f18c Flush analytics event log on every persist call. 2024-01-26 16:33:04 +05:30
Kishore Nallan
261664fe11 Add flag to prevent bazel cache bust on clion.
Clion adds this flag during debugging which causes onnxruntime to be rebuilt from scratch when switched between command line and clion build.
2024-01-26 05:36:21 +05:30
Harpreet Sangar
b0e523caa5
filter_result_iterator_t shouldn't timeout during update and delete by filter query operations. (#1511) 2024-01-25 15:09:02 +05:30
Kishore Nallan
94c560429d Fix hash-based faceting for coerced field values.
When an integer field is coerced to string via schema update, the underlying data on disk will still be integer. We have to account for this during hash based faceting.
2024-01-25 11:19:05 +05:30
Krunal Gandhi
77ade5ff65
add resource error response in /health end-point (#1505)
* add resource error response in /health end-point

* use resource_check_t enum for error response

* return enum instead of string error
2024-01-24 12:30:56 +05:30
Kishore Nallan
544e22830c Use fusion flag for speeding up debug linking. 2024-01-23 13:04:38 +05:30
Harpreet Sangar
3ade1f7895
Fix wildcard search with filter_by returning found: 1 in case of empty collection. (#1504) 2024-01-23 12:02:44 +05:30
Krunal Gandhi
cde131f4b3
Refactor analytics changes (#1502)
* remove query hits aggregation & store

* refactor analytics changes

* avoid string copy

* typo correction
2024-01-22 17:37:29 +05:30
Krunal Gandhi
e463d2f0f1
export swap used in /metrics.json end-point (#1499)
* export swap used in /metrics.json end-point

* remove logs

* add macro to run on linux only

* update the swap usage fetch approach

* remove check to maintain consistent API response
2024-01-22 13:40:39 +05:30
Kishore Nallan
37f8ea0dbd Account for no api passed in header for multi_search. 2024-01-21 21:58:18 +05:30
Ozan Armağan
0f54bf7101
Add stemming support for fields (#1498)
* Add stemming support for fields

* Add tests for stemming

* Check if the stemmer is  loaded correctly

* Add mutex for stemmer initialization and usage

* Fix get_stemmer_mutex() function signature

* Add StemmerManager class and refactor field.cpp and index.cpp

* Add mutex for thread safety in StemmerManager

* update delete_all_stemmers()

* Update field property name from "stemming" to "stem"
2024-01-20 21:18:54 +05:30
Kishore Nallan
f5add7865a Fix synonym test 2024-01-20 11:37:00 +05:30
Kishore Nallan
efa73804ae Fix stray lock 2024-01-20 09:58:24 +05:30
Kishore Nallan
525b75268c Improve locking for synonym index. 2024-01-19 22:00:19 +05:30
Kishore Nallan
60e599e283 Don't limit results for phrase search. 2024-01-19 16:55:50 +05:30
Krunal Gandhi
9565efefb3
remove query hits aggregation & store (#1496) 2024-01-19 10:57:25 +05:30
Kishore Nallan
964774c1a3 Merge branch 'main' into v0.26-facets 2024-01-19 09:12:12 +05:30
Jason Bosco
303a48c473 Add whisper to gpu dependencies bundle 2024-01-18 17:14:50 -06:00
Kishore Nallan
897fd0d698 Refactor new line response in import. 2024-01-18 07:04:02 +05:30
Krunal Gandhi
e51055712c
facilitate to add metadata while creating collection (#1491)
* facilitate to add metadata while creating collection

* allow empty metadata keys

* refactor style
2024-01-17 18:57:32 +05:30
Jason Bosco
94f6af39ab Update build script 2024-01-16 20:55:14 -06:00
Krunal Gandhi
85dd93bc10
Disable typo tolerance for digits (#1478)
* set max_cost to 0 when matching digits in art_fuzzy_search

* fix condition of trailing digits

* refactor the approach

* updating test

* change param name
2024-01-16 15:01:17 +05:30
Kishore Nallan
36af68a672
Merge pull request #1479 from ozanarmagan/v0.26-facets
Whisper runtime dynamic library linking for GPU inference
2024-01-15 15:11:22 +05:30
Kishore Nallan
d73d13f5bd Use LLD for linking.
Without this, debugging on Clion on Bazel 6 breaks.
2024-01-15 11:29:14 +03:00
ozanarmagan
319c40a95f Update whisper build to make GPU inference optional with runtime dynamic liking 2024-01-12 18:36:34 +03:00
Kishore Nallan
c1a71bc83f Handle autodelete key property not being available. 2024-01-12 08:39:31 +05:30
Kishore Nallan
a15ef0e9ae Merge branch 'main' into v0.26-facets 2024-01-12 06:49:14 +05:30
Kishore Nallan
cb4cac8d07
Merge pull request #1476 from ozanarmagan/v0.26-facets
Add support for voice query
2024-01-11 13:06:50 +05:30
ozanarmagan
c938c8440e Fix tests 2024-01-11 00:51:19 +03:00
ozanarmagan
1b22de4df8 Refactor to use const references 2024-01-10 22:46:13 +03:00
Kishore Nallan
a79356e055 Match record validation behavior during alter with other places.
This ensures that we don't end up making the validation stricter after a bad record has been indexed earlier.
2024-01-10 17:22:33 +05:30
ozanarmagan
47284942ab Update voice query test 2024-01-10 14:30:59 +03:00
ozanarmagan
90de80d137 Merge branch 'v0.26-facets' of https://github.com/ozanarmagan/typesense into v0.26-facets 2024-01-10 13:58:23 +03:00
ozanarmagan
2caca963fe Remove RelWithDebInfo for whisper.cpp 2024-01-10 13:58:14 +03:00
Ozan Armağan
3b0c518643
Merge branch 'v0.26-facets' into v0.26-facets 2024-01-10 13:41:17 +03:00
ozanarmagan
db248f941d Do not return q if it is empty 2024-01-10 13:36:53 +03:00
ozanarmagan
eeb5f047cf Fix voice query model references and error messages 2024-01-10 13:35:10 +03:00
ozanarmagan
cffd1a0fcf Fix naming conventions 2024-01-10 13:34:55 +03:00
Kishore Nallan
cfeab44614
Merge pull request #1475 from krunal1313/autodelete_expired_keys
remove expired API keys when specified
2024-01-10 14:10:52 +05:30
ozanarmagan
76181abe2f Fix whisper build 2024-01-10 01:26:47 +03:00
ozanarmagan
3c8b79781d Add support for audio query 2024-01-09 22:41:45 +03:00
krunal
b36c3fa2ce remove expired API keys when specified 2024-01-09 19:04:00 +05:30
Kishore Nallan
dc29256948 Merge branch 'v0.26-facets'
# Conflicts:
#	include/index.h
#	src/text_embedder.cpp
#	test/collection_faceting_test.cpp
#	test/collection_vector_search_test.cpp
2024-01-09 15:57:46 +05:30
Kishore Nallan
98a8ad92f4
Merge pull request #1474 from krunal1313/event_anaylytics
Store purchase, click events in tsv file
2024-01-09 13:52:22 +05:30