Reputation: 81
I am using milvus for a vector dababase. My data field is like [mailno, address, embedding], where mailno and address are string type and embedding is a float vector. I insert about 1300k records into the collection without any partition of the data, build index and load the index.
Now I am confused, why the hybrid search is not working? Is it because the dataset is too large? I have tried the search on a small dataset, the embedding and distance is ok. The embedding algorithm takes into account of the geo information.
Upvotes: 0
Views: 486
Reputation: 71
Now Milvus 2.4 support fuzzy match as well
filter="mailno like '%xxx%'"
Upvotes: 1
Reputation: 66
Try "... like 'prefix%' "
filter="mailno like 'xxx%'",
The fastest metadata text filtering will be prefix matching or my_string in list, "my_varchar_metada_column in ['list', 'of', 'strings'] ".
More examples in this bootcamp, see https://github.com/milvus-io/bootcamp/blob/master/bootcamp/RAG/readthedocs_zilliz_langchain.ipynb > Cell#14
Upvotes: 0