-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Milvus Vector - Unable to Set nprobe
in doSimilaritySearch
for Default IVF_FLAT
When initializeSchema = true
#2294
Comments
related document : https://milvus.io/docs/ivf-flat.md |
To achieve this feature request, |
This is not just a feature request; it's a necessary functionality because all index types in Milvus require custom parameters for optimal performance.
For more details on why these parameters are essential, refer to the Milvus documentation: |
@ilayaperumalg, I would be grateful if you could kindly look into this issue. Thank you very much. |
Milvus Vector - Unable to Set
nprobe
indoSimilaritySearch
for DefaultIVF_FLAT
WheninitializeSchema = true
Description
We are encountering an issue in
MilvusVectorStore
where it is not possible to setnprobe
when performing similarity searches (doSimilaritySearch
) if the index type is IVF_FLAT.By default,
IVF_FLAT
is selected wheninitializeSchema = true
, butnprobe
is not explicitly set, leading to poor recall or zero results in some cases.Expected Behavior
nprobe
when performing similarity searches withIVF_FLAT
.nprobe
indoSimilaritySearch()
should be provided via either:SearchRequest
nprobe = 256
)Current Behavior
nprobe
is not explicitly set indoSimilaritySearch()
.nprobe
defaults to a very small value (1
).nprobe
inSearchRequest
.Steps to Reproduce
MilvusVectorStore
instance withinitializeSchema = true
.doSimilaritySearch()
.nprobe
is not explicitly set, leading to poor recall or zero results.Code Example:
The text was updated successfully, but these errors were encountered: