New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: INVERTED scalar filter has low precision in query/search #32717
Comments
/assign @longjiquan |
@ghallsimpsons should you use same random number for different fields? |
Hi ~xiaofan-luan, thanks for helping look into this. There is no ground truth here per se, except for what I am requesting via the query. That is, if I perform a search and add the filter |
could you share you code and what is the result you get? |
thanks for reporting the bug, @ghallsimpsons , already fixed in #32858 |
issue: #32717 --------- Signed-off-by: longjiquan <[email protected]>
Very nice, thanks for the quick fix! I'll give it a go again when 2.4.2 is released. |
issue: milvus-io#32717 --------- Signed-off-by: longjiquan <[email protected]>
issue: #32717 pr: #32858 --------- Signed-off-by: longjiquan <[email protected]>
Is there an existing issue for this?
Environment
Current Behavior
When running
client.query(..., expr="my_ind == 1")
wheremy_ind
is of int type (tested w/ int16 and int32) and the index isINVERTED
, only a small (though statistically significant) fraction of the results satisfy the condition. Typical precision is 20-40% (with a 10% underlying density).STL_SORT
and no index both have 100% precision.Expected Behavior
Either
query(..., expr="my_ind == 1")
should have 100% precision, or the documentation should be updated to describe the expected behavior.Steps To Reproduce
The text was updated successfully, but these errors were encountered: