Why does a FLOAT INVERTED index change query results for a filter involving negative zero in Milvus?
I am using PyMilvus 2.6.5 with a standalone Milvus instance running master-20260330-31a01c81-amd64. My collection has a nullable FLOAT field named c12 and a nullable BOOL field named c10. The float values include positive numbers, 0.0, -0.0, and None. I want to return rows where c10 is false, excluding rows where c12 is non-null and less than or equal to -0.0. However, when c12 has an INVERTED index, the query also returns some rows where c12 is 0.0. This reproduces the behavior on a new collection: import time from pymilvus import ( Collection, CollectionSchema, DataType, FieldSchema, connect
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.