102 Commits

Author SHA1 Message Date
Krunal Gandhi
c9618bf71e
return collections as per scoped key params (#1658)
* return collections as per scoped key params

* add test for wildcard

* update facet return parent test
2024-04-09 20:43:24 +05:30
Kishore Nallan
8ef6bcb939 Merge branch 'v0.26-facets' into v27
# Conflicts:
#	include/collection.h
#	include/collection_manager.h
#	include/synonym_index.h
#	include/tsconfig.h
#	src/collection.cpp
#	src/collection_manager.cpp
#	src/synonym_index.cpp
#	src/typesense_server_utils.cpp
#	test/collection_manager_test.cpp
#	test/collection_synonyms_test.cpp
2024-03-20 15:34:28 +05:30
Harpreet Sangar
a27645f6bb
Add filter-by-max-ops option. (#1619) 2024-03-15 14:57:07 +05:30
Harpreet Sangar
84573668a4
Handle batch indexer for reference collections. (#1612) 2024-03-13 13:17:36 +05:30
Harpreet Sangar
1f6fbed372
Refactor referenced_in initialization of a collection. (#1585)
* Refactor `referenced_in` initialization of a collection.

* Review changes.

* Review changes.

---------

Co-authored-by: Kishore Nallan <kishorenc@gmail.com>
2024-02-28 20:48:31 +05:30
Krunal Gandhi
482858d05d
pagination for collections GET (#1581)
* add limit and offset support for collection

* use req->params, dont restrict limit param when records are less

* add more checks and not sort with pagination

* minor updations
2024-02-28 19:09:33 +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
Ozan Armağan
3b0c518643
Merge branch 'v0.26-facets' into v0.26-facets 2024-01-10 13:41:17 +03:00
ozanarmagan
cffd1a0fcf Fix naming conventions 2024-01-10 13:34:55 +03:00
ozanarmagan
3c8b79781d Add support for audio query 2024-01-09 22:41:45 +03:00
Harpreet Sangar
08c0a087a1 Support nested join. 2024-01-02 14:14:21 +05:30
Harpreet Sangar
feb1041f65 Add nest_array reference include strategy. 2023-12-27 10:34:39 +05:30
Harpreet Sangar
4bd1619cd6 Parse nested reference include_fields. 2023-12-27 10:34:36 +05:30
Kishore Nallan
7ac12c0357 Merge branch 'v0.25-join' into v0.26-facets 2023-11-25 15:39:52 +05:30
Kishore Nallan
af43190b82 Parameterize compaction of store during collection drop. 2023-11-19 18:03:45 +05:30
Kishore Nallan
816c56fada Refactor collection resource locking.
Make collection operations more independent.
2023-11-16 14:49:29 +05:30
Kishore Nallan
ae597f40ba Merge branch 'v0.25-join' into v0.26-facets
# Conflicts:
#	include/index.h
#	src/collection.cpp
#	test/collection_vector_search_test.cpp
2023-10-30 21:41:47 +05:30
Kishore Nallan
59f7bf0f48 Add background thread for periodic housekeeping. 2023-10-30 18:17:54 +05:30
Kishore Nallan
191d62a0cb Merge branch 'v0.25-join' into v0.26-facets
# Conflicts:
#	include/collection_manager.h
#	include/index.h
#	src/collection.cpp
#	src/collection_manager.cpp
#	src/index.cpp
#	test/collection_specific_more_test.cpp
#	test/collection_vector_search_test.cpp
2023-10-09 21:52:48 +05:30
ozanarmagan
fb36c1dd4c Update process_embedding_field_delete 2023-10-09 11:06:38 +03:00
ozanarmagan
4008f0bb2f Remove empty lines 2023-10-09 02:06:14 +03:00
ozanarmagan
cc54fb8176 Review changes 2023-10-09 02:04:43 +03:00
Harpreet Sangar
f80184a25c Fix referenced_in not being initialized if referenced collection is created later on. 2023-09-04 19:15:27 +05:30
Harpreet Sangar
35fc560ed9 Move get_reference_collection_names out of StringUtils. 2023-07-21 11:30:20 +05:30
krunal1313
a2796450ae refactor and adding tests 2023-07-10 11:33:53 +05:30
krunal1313
a40a1b60fc adding locale and tokenization 2023-07-04 18:10:52 +05:30
krunal1313
8e6bc04555 initial commit to add support for stopwords 2023-06-30 14:28:11 +05:30
Kishore Nallan
f9f0566606 Fine grain locking for collection creation.
Ensures that collection creation op is not blocked by a write to another collection.
2023-01-19 19:29:55 +05:30
Kishore Nallan
f380bd5fa9 Take care of underlying req being null. 2023-01-02 19:33:43 +05:30
Kishore Nallan
bf0f7430a0 Allow vector query to pass a document ID. 2023-01-01 18:00:50 +05:30
Kishore Nallan
a98e5bacdd Vector search basics. 2022-08-27 13:47:09 +05:30
Kishore Nallan
134af13281 By default, don't enable nested fields. 2022-08-07 17:36:28 +05:30
Kishore Nallan
a90bfba930 Multiple explicit nested fields should be allowed. 2022-08-03 18:38:18 +05:30
Kishore Nallan
4c6eac9840 Allow cloning of collection & assets from a reference collection. 2022-08-02 18:02:23 +05:30
Kishore Nallan
b6908f2f81 Add test for missing fields property in schema change. 2022-04-30 19:19:25 +05:30
Kishore Nallan
a5b06a0e0d Schema change basics. 2022-03-26 08:22:40 +05:30
Kishore Nallan
31c8a030c7 Handle per-search API key for multi search. 2022-02-25 21:19:24 +05:30
Kishore Nallan
bf475ad55f Support presets on GET search endpoint as well. 2022-02-19 19:11:20 +05:30
Kishore Nallan
facdda2a03 Preset API. 2022-02-17 16:23:59 +05:30
Kishore Nallan
efec5f97e9 Fix collection restore batch size. 2021-11-08 15:03:15 +05:30
Kishore Nallan
baaf7ea65d Restore store persisted raft log from snapshot. 2021-10-23 10:14:38 +05:30
Kishore Nallan
ebbab76a43 Gracefully quit during loading on signal. 2021-10-20 21:24:12 +05:30
Kishore Nallan
07d838e385 Make symbols for indexing and segmentation configurable. 2021-08-26 10:27:18 +05:30
kishorenc
4b2beba0d9 Add validation for collection name. 2021-04-05 15:41:04 +05:30
kishorenc
693fcb0e7e Tweak default value for thread pool size and parallel coll loading. 2021-03-30 19:53:56 +05:30
kishorenc
bc0d01bb47 Parameterize thread pool size and collection load configs. 2021-03-29 15:18:47 +05:30
kishorenc
af6d2e94e5 Load collections parallelly during start up. 2021-03-12 16:38:51 +05:30
kishorenc
4e3307a891 Use string* to specify string/string array coercion. 2021-02-25 15:07:37 +05:30
kishorenc
f1b70384cc Allow fields to be stringified automatically. 2021-02-23 12:58:14 +05:30
kishorenc
1a65ad509b Address valgrind warning. 2021-02-21 22:17:27 +05:30