feat: support filtering based on text keywords for qdrant#849
Conversation
Signed-off-by: AnneY <evangeline-lun@foxmail.com>
Codecov ReportBase: 88.15% // Head: 88.06% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #849 +/- ##
==========================================
- Coverage 88.15% 88.06% -0.09%
==========================================
Files 138 138
Lines 7148 7154 +6
==========================================
- Hits 6301 6300 -1
- Misses 847 854 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: AnneY <evangeline-lun@foxmail.com>
Signed-off-by: AnneY <evangeline-lun@foxmail.com>
Signed-off-by: AnneY <evangeline-lun@foxmail.com>
Signed-off-by: AnneY <evangeline-lun@foxmail.com>
JoanFM
left a comment
There was a problem hiding this comment.
I think it needs to be clarified that the full_text_search here is not the same as in Elastic Search. I am not sure this implementation is correct actually.
According to Qdrant, this is just another filter conditions but not a full text search powered by BM25.
I would reject this PR and reimplement this as just raising the version and documenting that these kind of filters can be used
I think the way this implementation does the indexing etc. is correct, from briefly looking at the qdrant documentation it seems like this kind of filter requires a dedicated index to be built for it. But I agree that we should probably expose this feature through our filtering API, not expose it on the same level as vector similarity |
Exactly, I think it should be expose via |
Signed-off-by: Anne Yang <evangeline-lun@foxmail.com>
This reverts commit 5fd7226. Signed-off-by: AnneY <evangeline-lun@foxmail.com>
Signed-off-by: AnneY <evangeline-lun@foxmail.com>
Signed-off-by: AnneY <evangeline-lun@foxmail.com>
|
📝 Docs are deployed on https://ft-feat-qdrant-text-search--jina-docs.netlify.app 🎉 |
Signed-off-by: AnneY evangeline-lun@foxmail.com
Goals:
This PR is related to issue #612
_find_by_textThe qdrant
findorfiltercan work as following: