Class AssertingKnnVectorsFormat
java.lang.Object
org.apache.lucene.codecs.KnnVectorsFormat
org.apache.lucene.tests.codecs.asserting.AssertingKnnVectorsFormat
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
Wraps the default KnnVectorsFormat and provides additional assertions.
-
Field Summary
Fields inherited from class org.apache.lucene.codecs.KnnVectorsFormat
DEFAULT_MAX_DIMENSIONS, EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfieldsReader
(SegmentReadState state) fieldsWriter
(SegmentWriteState state) Methods inherited from class org.apache.lucene.codecs.KnnVectorsFormat
availableKnnVectorsFormats, forName, getMaxDimensions, getName, reloadKnnVectorsFormat
-
Constructor Details
-
AssertingKnnVectorsFormat
public AssertingKnnVectorsFormat()
-
-
Method Details
-
fieldsWriter
- Specified by:
fieldsWriter
in classKnnVectorsFormat
- Throws:
IOException
-
fieldsReader
- Specified by:
fieldsReader
in classKnnVectorsFormat
- Throws:
IOException
-