265 Commits

Author SHA1 Message Date
krunal1313
eca358c11b removing FORCE_INTERSECT macro, seperating intersection test file 2023-05-01 16:16:15 +05:30
krunal1313
92c38c3fa5 adding tests and optimizing indexing 2023-05-01 12:01:35 +05:30
krunal1313
58e2de03ce using numerical index for new data structure 2023-04-25 16:51:40 +05:30
krunal1313
574a46d77d review patch by @kishorenc 2023-04-19 14:58:29 +05:30
krunal1313
1f68572179 clean up 2023-04-19 10:29:16 +05:30
krunal1313
c6a2c7946b Merge branch 'v0.25-join' of https://github.com/typesense/typesense into facet_index_refactor 2023-04-18 19:07:37 +05:30
krunal1313
8a68be832d updated conditions for wildcard results 2023-04-17 20:40:45 +05:30
krunal1313
6944857c9c hybrid approach preserving both structures 2023-04-13 17:48:48 +05:30
Kishore Nallan
48119f76eb Consider dropped token in text match calculation. 2023-04-10 12:19:21 +05:30
ozanarmagan
7d2d3f3910 Removed unused function 2023-04-08 00:31:44 +03:00
ozanarmagan
7ae3cc9781 Review Changes II 2023-04-07 23:56:25 +03:00
Kishore Nallan
5029d375ff Support pagination via offset parameter. 2023-04-02 14:08:29 +05:30
krunal1313
9c1ef9de6b facet index refactor updated changes 2023-03-31 17:38:33 +05:30
krunal1313
03b13828a7 inital changes for refactor 2023-03-20 15:04:11 +05:30
Kishore Nallan
be5e43061c Support field weights in phrase search. 2023-03-18 20:53:32 +05:30
Harpreet Sangar
63f8d33b5f Add comments. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
2a1feae0ee Add comments. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
cd2f5be875 Remove Index::adaptive_filter. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
f38f3f9792 Remove filter_node_t::metrics.
Update function signatures to accept context ids.
2023-03-10 18:18:46 +05:30
Harpreet Sangar
db555d36ad Refactor tests. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
84787510c8 Handle reference filter during approximation. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
94add54c43 temp. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
39a0270434 Add reference_fields map in Collection. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
eacd644d3a Add Index::rearranging_recursive_filter. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
076a04c062 Optimize reference filtering. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
bb4c0af996 Fix rebase error. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
a11a899a4c Add reference_fields map in Collection. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
753aa29888 Add Index::rearranging_recursive_filter. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
1d3e05f2cb Optimize reference filtering. 2023-03-10 18:18:46 +05:30
Harpreet Sangar
e78d209911 Add filter_result_t struct.
Add `reference_filter_result_t` struct.
Add support for lazy filtering.
Update `rearrange_filter_tree` to return approximate count of filter matches.
2023-03-10 18:18:46 +05:30
Kishore Nallan
1bcacfacff Merge branch 'v0.25' into v0.25-join 2023-03-05 10:56:31 +05:30
Kishore Nallan
f48b9ffe6e Extract doc validation functions out. 2023-03-05 10:55:42 +05:30
Kishore Nallan
b03c84cb4a Merge branch 'v0.25' into v0.25-join 2023-03-05 09:30:45 +05:30
krunal1313
7b59484e2f refactoring 2023-02-28 11:27:33 +05:30
krunal1313
7a06e11e39 adding hits count for each group in group_by operation 2023-02-24 12:12:55 +05:30
Harpreet Sangar
c2211e914d temp. 2023-02-15 16:48:44 +05:30
Harpreet Sangar
da1b327749 Refactor rearranging_recursive_filter. 2023-02-03 17:09:24 +05:30
Harpreet Sangar
16d6a5cbf0 Fix double locking of collection mutex. 2023-02-03 14:30:17 +05:30
Harpreet Sangar
34f039e584 Add reference_fields map in Collection. 2023-02-02 11:23:09 +05:30
Harpreet Sangar
6c19c95af6 Add Index::adaptive_filter. 2023-01-27 19:58:06 +05:30
Harpreet Sangar
5c5f43195c Add Index::rearranging_recursive_filter. 2023-01-27 12:57:13 +05:30
Harpreet Sangar
6c5662bc95 Optimize reference filtering. 2023-01-24 10:57:29 +05:30
Krunal Gandhi
e6c3017352
Single value facet (#854)
* single valued facet initial commit

* refactoring and bug fixes

* modularizing repeatative code to function call
2023-01-13 13:21:06 +05:30
Kishore Nallan
cd5cfc5445 Merge branch 'v0.24-nested' into v0.25
# Conflicts:
#	include/collection.h
#	src/collection.cpp
#	src/collection_manager.cpp
#	src/index.cpp
2023-01-09 16:06:34 +05:30
Kishore Nallan
bc31be874a Add text match modes: max_score and max_weight. 2023-01-04 20:30:30 +05:30
Kishore Nallan
5c75d1553a Merge branch 'bazel-build' into v0.25 2023-01-03 11:02:09 +05:30
Kishore Nallan
b8b9fb20b3 Merge branch 'v0.24-nested' into v0.25
# Conflicts:
#	include/collection.h
#	src/collection.cpp
#	src/collection_manager.cpp
#	test/collection_faceting_test.cpp
2023-01-03 09:42:21 +05:30
Kishore Nallan
bf0f7430a0 Allow vector query to pass a document ID. 2023-01-01 18:00:50 +05:30
Harpreet Sangar
34b16cdb21
Add != compatibility for numeric type. (#835)
* Add `!=` compatibility for numeric type.

* Add `numeric_not_equals_filter` method.

* Refactor `numeric_not_equals_filter` method.

* Support `!=` for numeric field multi-value filter_by.

* Ignore local settings file.

* Add comment.

* Add tests.

* Update negation test.

* Set `apply_not_equals` flag for string fields as well.

* Add `field: [!=value]` test.
2022-12-29 20:57:10 +05:30
Kishore Nallan
df8f6849fe Facet estimation for large result sets. 2022-12-15 16:27:01 +05:30