374 Commits

Author SHA1 Message Date
Harpreet Sangar
024dcc1b68 Support filter scoring. 2023-10-03 17:53:04 +05:30
Kishore Nallan
ce4b8e3e2c Merge branch 'v0.25-join' into v0.26-facets
# Conflicts:
#	include/collection.h
#	include/index.h
#	src/collection.cpp
#	src/collection_manager.cpp
#	src/index.cpp
#	test/collection_faceting_test.cpp
2023-10-03 11:13:23 +05:30
Kishore Nallan
3d98c1ce2d Merge branch 'v0.25-multi-vec-patch' into v0.25-join 2023-10-02 15:33:07 +05:30
ozanarmagan
48b2c6bba7 Fix reindexing all fields on alter 2023-10-01 19:34:51 +03:00
Kishore Nallan
d5d9fcad1d Add flag for not keeping missing group field values distinct. 2023-09-29 16:29:23 +05:30
Kishore Nallan
4dd35835e3 Add flag prioritize_num_matching_fields. 2023-09-27 12:12:01 +05:30
Kishore Nallan
b530f80770 Drop tokens direction. 2023-09-25 07:29:55 +05:30
Kishore Nallan
714f27667e Merge branch 'v0.25-join' into v0.26-facets 2023-09-15 07:15:32 +05:30
Kishore Nallan
0db3dd0d00 Don't remove vector during update: use update api directly. 2023-09-14 19:16:33 +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
krunal
7c61328374 merge v0.26-facets 2023-09-01 15:06:31 +05:30
Harpreet Sangar
1b14bc2e06 Merge remote-tracking branch 'up/v0.26-facets' into v0.26-facets 2023-09-01 13:02:01 +05:30
Kishore Nallan
bb5720955b Merge branch 'v0.25-join' into v0.26-facets 2023-09-01 12:11:31 +05:30
Kishore Nallan
633ec69aed Fix upsert on unchanged docs with embedding fields. 2023-08-31 13:38:08 +05:30
Harpreet Sangar
08c893b3bd Sort by reference fields in case of many-to-many relation. 2023-08-25 16:53:09 +05:30
Harpreet Sangar
79b5afe7d9 Include reference fields in case of many-to-many relation. 2023-08-23 16:07:37 +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
Harpreet Sangar
710ee61c87 Include reference fields without join. 2023-08-15 20:04:50 +05:30
krunal
87092620af cleanup & refactor 2023-08-10 20:22:18 +05:30
krunal
cfcac97fdc adding sort by alpha 2023-08-10 16:10:28 +05:30
Kishore Nallan
2647d78728 Move facet index selection logic to compute facet infos. 2023-08-08 19:18:40 +05:30
Kishore Nallan
099e09c383 Merge branch 'v0.25-join' into v0.26-facets 2023-07-10 20:39:57 +05:30
ozanarmagan
222c50e2c1 Merge branch 'v0.25-join' of https://github.com/ozanarmagan/typesense into v0.25-join 2023-07-08 13:28:49 +03:00
ozanarmagan
ab0be22489 Add remote_embeding_batch_size parameter for doc import 2023-07-08 13:11:45 +03:00
Kishore Nallan
d569cbd75e Fix bug with offset/pagination affecting vector search.
# Conflicts:
#	include/collection.h
#	src/index.cpp
2023-07-02 21:02:39 +05:30
Kishore Nallan
a7adc1c3ca Fix bug with offset/pagination affecting vector search. 2023-07-02 20:43:31 +05:30
Kishore Nallan
72a2bf41e0 Merge branch 'v0.25-join' into v0.26-facets 2023-07-01 17:07:49 +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
c066120fb1 Fix edge case in updating empty array strings. 2023-07-01 13:46:03 +05:30
Kishore Nallan
052d415af6
Merge branch 'v0.26-filter' into v0.26-filter 2023-06-28 21:12:30 +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
Harpreet Sangar
9aeaec2d20 Use only NumericTrie when range_index: true is specified.
Move `rearrange_filter_tree` logic into `filter_result_iterator_t::init()`.
2023-06-27 16:30:09 +05:30
Harpreet Sangar
ab4e60d5b8 Refactor NumericTrie::Node, use ids_t instead of sorted_array.
Refactor `indexable_limit` function.
2023-06-27 16:30:09 +05:30
Harpreet Sangar
a901240979 Update geo_range_index to be a 32 bit trie. 2023-06-27 16:30:09 +05:30
Harpreet Sangar
334ea25b21 Add geo_range_index. 2023-06-27 16:30:09 +05:30
Harpreet Sangar
2c7b6e8c15 Fix wildcard search with geo-filter producing maximum 100 results. 2023-06-27 16:29:39 +05:30
Harpreet Sangar
b4a70682c6 Add range_index property. 2023-06-27 16:29:39 +05:30
ozanarmagan
d0edc91cbb vector_query_hits & sort by vector_distance 2023-06-26 14:19:19 +03:00
Harpreet Sangar
a0778f24ad Fix HybridSearchRankFusionTest. 2023-06-26 15:20:00 +05:30
Harpreet Sangar
6adbbfa02d Remove SEQ_IDS_FILTER logic. 2023-06-26 15:20:00 +05:30
Harpreet Sangar
2532351e60 Fix phrase search. 2023-06-26 15:20:00 +05:30
Harpreet Sangar
12debac719 Remove Index::do_filtering. Using filter_result_t instead. 2023-06-26 15:20:00 +05:30
Harpreet Sangar
e294742693 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-06-26 15:19:53 +05:30
Harpreet Sangar
6f08108498 Fix failing tests. 2023-06-26 15:19:07 +05:30
Harpreet Sangar
9896541874 Add filter_result_iterator_t::get_n_ids.
Use `is_valid` instead of `valid()`.
Handle special `_all_` field name in filtering logic.
2023-06-26 15:19:07 +05:30
Harpreet Sangar
4b2c41a8c9 Refactor filtering logic to overcome circular referencing.
Handle exact string filtering in `filter_result_iterator`.
2023-06-26 15:19:06 +05:30
Harpreet Sangar
bca7f69133 Add filter_result_iterator_t. 2023-06-26 15:19:06 +05:30
ozanarmagan
99be1f69df Bug fixes for embedding generation process 2023-06-20 01:35:23 +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