Is it possible to have multi word text match search? #38643
-
we are using https://milvus.io/docs/keyword-match.md#Text-Match feature, which we prefer over Full text match using BM25 since the exact control of filter. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Currently the build-in tokenizers could not distinct phrases, maybe we can add more configurations to keep phrases for match in future versions. A possible workaround is infix filtering: |
Beta Was this translation helpful? Give feedback.
-
Do you wanto match text or 1 or do you want to match text1 as one single phrase? |
Beta Was this translation helpful? Give feedback.
-
otherwise what you need is match phrase feature We are working on it but it will be released on 2.6 |
Beta Was this translation helpful? Give feedback.
Currently the build-in tokenizers could not distinct phrases, maybe we can add more configurations to keep phrases for match in future versions.
A possible workaround is infix filtering:
filter = 'text like "%sample text 1%"'