FEAT: support milvus to full text search (#11430)

Signed-off-by: YoungLH <974840768@qq.com>
This commit is contained in:
YoungLH
2025-01-08 17:39:53 +08:00
committed by GitHub
parent d649037c3e
commit 040a3b782c
8 changed files with 386 additions and 234 deletions

View File

@@ -19,9 +19,9 @@ class MilvusVectorTest(AbstractVectorTest):
)
def search_by_full_text(self):
# milvus dos not support full text searching yet in < 2.3.x
# milvus support BM25 full text search after version 2.5.0-beta
hits_by_full_text = self.vector.search_by_full_text(query=get_example_text())
assert len(hits_by_full_text) == 0
assert len(hits_by_full_text) >= 0
def get_ids_by_metadata_field(self):
ids = self.vector.get_ids_by_metadata_field(key="document_id", value=self.example_doc_id)