Class ExpandingVectorValues
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.VectorValues
org.apache.lucene.index.FilterVectorValues
org.apache.lucene.codecs.lucene94.ExpandingVectorValues
reads from byte-encoded data
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.VectorValues
VectorValues.SortingVectorValues
-
Field Summary
FieldsFields inherited from class org.apache.lucene.index.FilterVectorValues
in
Fields inherited from class org.apache.lucene.index.VectorValues
EMPTY, MAX_DIMENSIONS
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[]
Return the vector value for the current document ID.Methods inherited from class org.apache.lucene.index.FilterVectorValues
advance, binaryValue, cost, dimension, docID, nextDoc, size
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
Field Details
-
value
private final float[] value
-
-
Constructor Details
-
ExpandingVectorValues
- Parameters:
in
- the wrapped values
-
-
Method Details
-
vectorValue
Description copied from class:VectorValues
Return the vector value for the current document ID. It is illegal to call this method when the iterator is not positioned: before advancing, or after failing to advance. The returned array may be shared across calls, re-used, and modified as the iterator advances.- Overrides:
vectorValue
in classFilterVectorValues
- Returns:
- the vector value
- Throws:
IOException
-