Class CuVSCodec

java.lang.Object
org.apache.lucene.codecs.Codec
org.apache.lucene.codecs.FilterCodec
org.apache.solr.cuvs.CuVSCodec
All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI

public class CuVSCodec extends org.apache.lucene.codecs.FilterCodec
This codec utilizes the Lucene99AcceleratedHNSWVectorsFormat from the lucene-cuvs library to enable GPU-based accelerated vector search.
Since:
10.0.0
  • Field Summary

    Fields inherited from class org.apache.lucene.codecs.FilterCodec

    delegate
  • Constructor Summary

    Constructors
    Constructor
    Description
    CuVSCodec(SolrCore core, org.apache.lucene.codecs.lucene103.Lucene103Codec fallback, org.apache.solr.common.util.NamedList<?> args)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.codecs.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CuVSCodec

      public CuVSCodec(SolrCore core, org.apache.lucene.codecs.lucene103.Lucene103Codec fallback, org.apache.solr.common.util.NamedList<?> args)
  • Method Details

    • knnVectorsFormat

      public org.apache.lucene.codecs.KnnVectorsFormat knnVectorsFormat()
      Overrides:
      knnVectorsFormat in class org.apache.lucene.codecs.FilterCodec