315 Commits

Author SHA1 Message Date
krunal1313
ad87ea0544 making results deterministic and consistent 2023-05-25 12:22:27 +05:30
krunal1313
595a9b4933 hybrid approach preserving both structures 2023-05-17 11:24:14 +05:30
Harpreet Sangar
191013dc5d Refactor filtering logic to overcome circular referencing.
Handle exact string filtering in `filter_result_iterator`.
2023-05-16 18:52:13 +05:30
Kishore Nallan
48119f76eb Consider dropped token in text match calculation. 2023-04-10 12:19:21 +05:30
ozanarmagan
a50fe99a7c Review Changes III 2023-04-10 06:23:16 +03:00
ozanarmagan
7ae3cc9781 Review Changes II 2023-04-07 23:56:25 +03:00
ozanarmagan
b7c988ab45 Added more test 2023-04-05 18:23:46 +03:00
ozanarmagan
1ad7bcdce3 Review Changes 2023-04-05 18:05:45 +03:00
Ozan Armağan
2a46120ad4
Merge branch 'typesense:v0.25-join' into v0.25-join 2023-04-05 16:44:57 +03:00
Kishore Nallan
2474ac0625 More pagination validation. 2023-04-05 18:00:00 +05:30
ozanarmagan
e85ae5d7d2 Hybrid & sematic search improvements 2023-04-02 01:32:49 +03:00
Kishore Nallan
73d3dd0d89
Merge pull request #935 from ozanarmagan/v0.25
Switch to reciprocal rank fusion
2023-03-20 07:21:38 +05:30
ozanarmagan
c71b0574e9 Refactoring model download and checking MD5 hash before downloading 2023-03-19 02:15:32 +03:00
ozanarmagan
783c8dcae2 Fix for downloading models on every test run 2023-03-16 17:07:31 +03:00
ozanarmagan
3c6519ca63 Uppdate for wildcard edge case 2023-03-16 14:43:14 +03:00
ozanarmagan
01f6885f55 Return rank fusion score in response 2023-03-16 13:51:00 +03:00
ozanarmagan
b10508a876 Review changes + unit test for rank fusion 2023-03-15 16:32:09 +03:00
Kishore Nallan
203252b610 Fix phrase search with space after starting double quote. 2023-03-14 14:23:43 +05:30
ozanarmagan
e1d452b713 Review changes II 2023-02-27 13:24:42 +03:00
Ozan Armağan
807a95b383
Merge branch 'v0.25-join' into v0.25 2023-02-16 16:15:20 +03:00
ozanarmagan
4f921a3040 Auto vector generation & Hybrid Search 2023-02-16 14:47:17 +03:00
Kishore Nallan
5eda7668b9 Refactor fuzzy search restrictions. 2023-02-14 14:28:39 +05:30
Kishore Nallan
e8e1772858 Refactor fuzzy search state transition.
Handle extra chars in the middle of a query.
2023-01-26 18:24:43 +05:30
Harpreet Sangar
d7ff4bdc0e
Support wildcard. (#852)
* Support wildcard.

* Add test case for `query_by=user.*`

* Remove duplicate.

* Add WildcardHighlightFields test.

* Add WildcardHighlightFullFields test.

* Review changes.
2023-01-11 20:30:07 +05:30
Harpreet Sangar
5f034f8b3b
Update documents using filter_by. (#845)
* Update documents.

* Return number of documents updated in the response.

* Update test.

* Use `add_many` to update documents.

* Test batching of updation.

* Support updation of all documents by `filter_by=*`.

* Update test to work on schema with nesting enabled.

* Fix memory leak.

* Add nested field updation test.

* Remove iterator key comparison.
2023-01-06 12:36:56 +05:30
Kishore Nallan
652472f32a Cmake compatible bazel build. 2022-12-18 20:49:51 +05:30
Kishore Nallan
c6ea968f01 Merge branch 'v0.25' into bazel-build
# Conflicts:
#	.gitignore
2022-12-15 21:19:31 +05:30
0x2Adr1
bbebb1a567
Bazel (#736) 2022-12-15 21:09:06 +05:30
Kishore Nallan
85d5ce06b2 Refactor prefix search expansion. 2022-10-05 16:14:32 +05:30
Kishore Nallan
bef79000e1 Skeleton for nested field indexing and highlighting. 2022-07-25 17:25:49 +05:30
Kishore Nallan
aa3eddf9f4 Add total matching fields to match score. 2022-07-21 16:02:22 +05:30
RedSnail
ccb05375b7
Option to return document ID and body in import response. (#615)
* have a strange error, I'll try to compile without changes

* added return_id keyword which returns only id

* added test entry and also added test option to docker-build.sh

* sorry, I can't run tests my self, so i run it with your CI

* It didn't work 'cause i've been writing in python for too long :)
2022-06-13 10:21:44 +05:30
Kishore Nallan
43c26b1c7e Retain verbatim match on array. 2022-05-30 07:13:22 +05:30
Kishore Nallan
a409df8dad Fix verbatim match on array. 2022-05-29 19:24:55 +05:30
Kishore Nallan
d935cb4041 Fix proper prefix expansion. 2022-05-19 16:12:33 +05:30
Kishore Nallan
bba8c5feb2 Fix highlighting around puncutation. 2022-04-14 15:21:05 +05:30
Kishore Nallan
4889fba179 OR based token intersection. 2022-04-05 17:50:30 +05:30
Kishore Nallan
66cb71039f Do drop tokens at a global level. 2022-03-23 18:53:48 +05:30
Kishore Nallan
51a5f268e2 Take care of token order in phrase search. 2022-03-11 13:22:14 +05:30
Kishore Nallan
12c443e222 Tweak relevancy scoring. 2022-03-06 18:06:12 +05:30
Kishore Nallan
31503f699f Ensure that emplace allows non-optional field update. 2022-02-03 16:16:56 +05:30
Kishore Nallan
302f8a34e8 Handle typo/drop token threshold better globally. 2022-02-02 20:37:25 +05:30
Kishore Nallan
4f961f4919 Highlight only the prefix. 2022-01-02 18:08:05 +05:30
Kishore Nallan
ab7a3f53bb Phrase search skeleton. 2021-12-28 08:29:31 +05:30
Kishore Nallan
3a8a2fcadb Support emplace action for ingestion. 2021-12-25 09:39:23 +05:30
Kishore Nallan
97b1981fcd Buffer IDs during exhaustive search. 2021-11-22 15:18:37 +05:30
Kishore Nallan
774f3d3ce3 Move facet tokens and groups to separate maps.
This speeds up faceting and reduces memory footprint during faceting.
2021-11-18 12:38:12 +05:30
Kishore Nallan
14f4c3e834 Field wise indexing. 2021-11-11 19:11:06 +05:30
Kishore Nallan
ebbab76a43 Gracefully quit during loading on signal. 2021-10-20 21:24:12 +05:30
Kishore Nallan
25d29919ae Multiplex frequency + score based token selection. 2021-09-19 16:31:28 +05:30