244 Commits

Author SHA1 Message Date
Harpreet Sangar
ce6a5c2f3f Add support for nest and merge reference include strategy. 2023-10-27 11:34:17 +05:30
ozanarmagan
9cc8f88310 Fix sort by vector query 2023-10-24 19:12:18 +03:00
Kishore Nallan
e6876fa147 Merge branch 'v0.25-join' into v0.26-facets
# Conflicts:
#	include/field.h
#	src/collection.cpp
#	src/index.cpp
#	test/collection_vector_search_test.cpp
2023-10-23 18:45:18 +05:30
Harpreet Sangar
4ffbe3aad1 Add reference_index for reference array field. 2023-10-20 13:41:02 +05:30
Harpreet Sangar
8878acc0f9 Handle references for string, string[], int32, int32[], int64 and int64[] field types. 2023-10-17 11:39:25 +05:30
ozanarmagan
dfbb1ebfb4 Refactor vector index lookup & normalization 2023-10-15 14:08:14 +03:00
ozanarmagan
4167fe69c8 Sort by vector query 2023-10-14 02:07:51 +03:00
krunal
eeb7521394 handle facet query with multiple tokens in value index 2023-10-13 15:38:02 +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
cc54fb8176 Review changes 2023-10-09 02:04:43 +03:00
ozanarmagan
61469b4d84 Unload models from RAM when it is unused 2023-10-07 15:08:46 +03:00
Kishore Nallan
67b6b00b37 Fix float stats with negative only value. 2023-10-05 14:31:06 +05:30
Harpreet Sangar
024dcc1b68 Support filter scoring. 2023-10-03 17:53:04 +05:30
Kishore Nallan
00be933b23 Allow unindexed non-optional field in schema. 2023-09-24 16:38:49 +05:30
krunal
fe716f27b9 return parent as json object 2023-09-19 14:06:21 +05:30
krunal
045a39f2b5 separate out parent field from value 2023-09-19 12:44:34 +05:30
Harpreet Sangar
ee05ecefa1 Support as to specify an alias for reference doc's fields.
Fix reference `include_fields` returning flattened fields.
2023-09-14 12:23:08 +05:30
Kishore Nallan
107981eb1f
Merge pull request #1131 from krunal1313/facet_sort
sort facet by other field for nested objects
2023-09-05 19:04:14 +05:30
Harpreet Sangar
e11aa723e6 Merge remote-tracking branch 'up/v0.26-facets' into v0.26-facets 2023-09-04 19:22:46 +05:30
Kishore Nallan
a713c2675f Merge branch 'v0.25-join' into v0.26-facets 2023-09-03 17:29:12 +05:30
ozanarmagan
dedb8e213d Remove validate_and_init_embed_fields 2023-09-02 17:21:07 +03:00
ozanarmagan
16a553dd3e Add tests & add validate_and_init_embed_field 2023-09-02 16:14:39 +03:00
krunal
46796826c6 sort by other field 2023-08-17 18:33:09 +05:30
Harpreet Sangar
f41afc155f Sort by reference field. 2023-08-17 11:34:51 +05:30
krunal
a282fbd1a8 merge v0.26-facets 2023-08-16 14:54:43 +05:30
Kishore Nallan
a3a44acf2f Have separate facet aggregation structures for value/hash facets. 2023-08-15 19:25:42 +05:30
krunal
87092620af cleanup & refactor 2023-08-10 20:22:18 +05:30
Kishore Nallan
2647d78728 Move facet index selection logic to compute facet infos. 2023-08-08 19:18:40 +05:30
Kishore Nallan
64c12c4cb2 Merge branch 'v0.25-join' into v0.26-facets 2023-08-08 15:57:24 +05:30
Kishore Nallan
10c1f4c5c1 Fix schema validation of non-optional, null nested values. 2023-08-08 13:06:12 +05:30
krunal
e70e8d070a sort facet by other field for nested objects 2023-08-02 16:39:45 +05:30
Kishore Nallan
888091d2dc Merge branch 'v0.25-join' into v0.26-facets
# Conflicts:
#	src/collection.cpp
#	src/field.cpp
#	test/collection_all_fields_test.cpp
2023-07-24 15:15:20 +05:30
Kishore Nallan
31b744a3ca Reduce duplication in embed validation. 2023-07-24 08:58:54 +05:30
Kishore Nallan
3973834965 Refactor embedding model init. 2023-07-23 12:57:09 +05:30
Kishore Nallan
b85da1b2f5 Merge branch 'v0.26-filter' into v0.26-facets
# Conflicts:
#	include/collection.h
#	include/index.h
#	src/collection.cpp
#	src/index.cpp
2023-07-01 17:07:35 +05:30
Kishore Nallan
d5048f689b Merge branch 'v0.25-join' into v0.26-filter
# Conflicts:
#	src/index.cpp
2023-06-28 20:49:35 +05:30
Kishore Nallan
040fb40897
Merge pull request #1071 from ozanarmagan/v0.25-join
vector_query_hits & sort by vector_distance
2023-06-26 20:14:43 +05:30
ozanarmagan
d0edc91cbb vector_query_hits & sort by vector_distance 2023-06-26 14:19:19 +03:00
Kishore Nallan
9c5e553240 Merge branch 'v0.26-filter' into v0.26-facets
# Conflicts:
#	include/index.h
#	src/index.cpp
2023-06-19 14:57:02 +05:30
Kishore Nallan
80641096c9 Fix asan warnings. 2023-06-17 17:31:15 +05:30
krunal1313
00809e89e4 merge v0.26-filter 2023-06-06 14:21:56 +05:30
Kishore Nallan
b30ba6029f Merge branch 'v0.25-join' into v0.26-filter 2023-06-05 16:31:04 +05:30
Harpreet Sangar
bc8a5fc96d Add range_index property. 2023-06-01 16:46:04 +05:30
Harpreet Sangar
6acc7d8557 Fix memory leaks:
* Handle deletion of `filter_tree_root` in `sort_fields_guard_t`.
* Handle `filter_tree_root` being updated in `Index::static_filter_query_eval`.
* Handle deletion of `phrase_result_ids` in `Index::search`.
2023-05-31 09:08:42 +05:30
Harpreet Sangar
7b3b321aaf Refactor filtering logic to overcome circular referencing.
Handle exact string filtering in `filter_result_iterator`.
2023-05-31 09:08:39 +05:30
krunal1313
45a698d505 adding support for facet_query 2023-05-25 10:05:30 +05:30
Ozan Armağan
0f5abfc5fa
Merge branch 'v0.25-join' into v0.25-join 2023-05-20 02:24:45 +03:00
krunal1313
79084f2e4a fixing tests 2023-05-17 17:50:40 +05:30
krunal1313
e1050d0102 changing base to v0.26-filter 2023-05-17 16:13:06 +05:30
krunal1313
ba57d7a3cc using numerical index for new data structure 2023-05-17 14:35:26 +05:30