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
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 -
Method Summary
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
-
Constructor Details
-
ConfigurableMCodec
public ConfigurableMCodec() -
ConfigurableMCodec
public ConfigurableMCodec(int maxConn)
-
-
Method Details
-
knnVectorsFormat
- Overrides:
knnVectorsFormat
in classFilterCodec
-