You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the upgrade to Lucene 10, the KNNVectorScriptDocValues implementation in the OpenSearch k-NN plugin faces compatibility issues due to changes in the Lucene API. Specifically:
Issue:
The create method in KNNVectorScriptDocValues attempts to cast a DocIdSetIterator to FloatVectorValues or ByteVectorValues. In Lucene 10, this casting is invalid because these types are no longer compatible.
Error Example: Inconvertible types; cannot cast 'org.apache.lucene.search.DocIdSetIterator' to 'org.apache.lucene.index.FloatVectorValues'
Root Cause: DocIdSetIterator is no longer part of the hierarchy for FloatVectorValues or ByteVectorValues in Lucene 10.
The Lucene 10 API now uses specialized types for vector handling that need to be explicitly managed.
The text was updated successfully, but these errors were encountered:
Description
With the upgrade to Lucene 10, the KNNVectorScriptDocValues implementation in the OpenSearch k-NN plugin faces compatibility issues due to changes in the Lucene API. Specifically:
Issue:
The create method in KNNVectorScriptDocValues attempts to cast a DocIdSetIterator to FloatVectorValues or ByteVectorValues. In Lucene 10, this casting is invalid because these types are no longer compatible.
Error Example: Inconvertible types; cannot cast 'org.apache.lucene.search.DocIdSetIterator' to 'org.apache.lucene.index.FloatVectorValues'
Root Cause: DocIdSetIterator is no longer part of the hierarchy for FloatVectorValues or ByteVectorValues in Lucene 10.
The Lucene 10 API now uses specialized types for vector handling that need to be explicitly managed.
The text was updated successfully, but these errors were encountered: