Class ConfigurableMCodec
- java.lang.Object
-
- org.apache.lucene.codecs.Codec
-
- org.apache.lucene.codecs.FilterCodec
-
- org.apache.lucene.tests.codecs.vector.ConfigurableMCodec
-
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
public class ConfigurableMCodec extends FilterCodec
This codec allows customization of the number of connections made for an hnsw index. Increasing the number of connections can decrease the time of certain tests while still achieving the same test coverage.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.codecs.FilterCodec
delegate
-
-
Constructor Summary
Constructors Constructor Description ConfigurableMCodec()
ConfigurableMCodec(int maxConn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KnnVectorsFormat
knnVectorsFormat()
-
Methods inherited from class org.apache.lucene.codecs.FilterCodec
compoundFormat, docValuesFormat, fieldInfosFormat, liveDocsFormat, normsFormat, pointsFormat, postingsFormat, segmentInfoFormat, storedFieldsFormat, termVectorsFormat
-
Methods inherited from class org.apache.lucene.codecs.Codec
availableCodecs, forName, getDefault, getName, reloadCodecs, setDefault, toString
-
-
-
-
Method Detail
-
knnVectorsFormat
public KnnVectorsFormat knnVectorsFormat()
- Overrides:
knnVectorsFormat
in classFilterCodec
-
-