-
Notifications
You must be signed in to change notification settings - Fork 169
Description
What is the bug?
When an index was created before 2.17, and user upgrades the cluster to 3.1 and turn on memory optimized search, then NPE will be raised from SegmentReader.getVectorReader
as old codec does not have the implementation. We added getVectorReader
to return non-null NativeEngines990KnnVectorsReader
at version 3.1.
We should fix this check to check the index created version and return false
accordingly.
How can one reproduce the bug?
Steps to reproduce the behavior:
- Spin up 2.17 cluster
- Configure Faiss knn field.
- Upgrade the cluster to 3.1
- Turn on memory optimized search.
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
- OS: Linux
- Version : 3.1
- Plugins : kNN
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status