-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Is there an existing issue for this?
- I have searched the existing issues
Environment
- Milvus version: v2.5.1
- Deployment mode(standalone or cluster): standalone
- MQ type(rocksmq, pulsar or kafka):
- SDK version(e.g. pymilvus v2.0.0rc2): pymilvus v2.5.3
- OS(Ubuntu or CentOS): Ubuntu
- CPU/Memory: Intel(R) Xeon(R) Gold 6330 CPU @ 2.00GHz/251G
- GPU: NVIDIA RTX A6000
- Others:
Current Behavior
I have designed nine queries to test filtered search on milvus, the scalar part of the operation is equal range and contain respectively, when I build indexes on the corresponding scalar columns, there is no change in the query results.
Is it that the indexes are not successfully constructed or the indexes themselves do not yield anything?
Before the index is built

query1 - latency: 0.0120 s, recall: 1.0000, param: 100
query2 - latency: 0.0169 s, recall: 0.9900, param: 100
query3 - latency: 0.3246 s, recall: 1.0000, param: 100
query4 - latency: 0.0096 s, recall: 1.0000, param: 100
query5 - latency: 0.0131 s, recall: 1.0000, param: 100
query6 - latency: 0.2734 s, recall: 1.0000, param: 100
query7 - latency: 0.0099 s, recall: 1.0000, param: 100
query8 - latency: 0.0178 s, recall: 1.0000, param: 100
query9 - latency: 0.3738 s, recall: 1.0000, param: 100
After the index is built

query1 - latency: 0.0109 s, recall: 1.0000, param: 100
query2 - latency: 0.0167 s, recall: 0.9900, param: 100
query3 - latency: 0.3500 s, recall: 1.0000, param: 100
query4 - latency: 0.0096 s, recall: 1.0000, param: 100
query5 - latency: 0.0136 s, recall: 1.0000, param: 100
query6 - latency: 0.2754 s, recall: 1.0000, param: 100
query7 - latency: 0.0092 s, recall: 1.0000, param: 100
query8 - latency: 0.0171 s, recall: 1.0000, param: 100
query9 - latency: 0.4698 s, recall: 1.0000, param: 100
Is there any way to confirm that the scalar index has been built successfully and can be used?
Expected Behavior
No response
Steps To Reproduce
Milvus Log
No response
Anything else?
No response