Class DocValuesCache

java.lang.Object
org.alfresco.solr.query.DocValuesCache

public class DocValuesCache extends Object
The DocValuesCache is an in-memory uncompressed numeric DocValues cache. It is designed to provide the fastest possible access to numeric docValues. The DocValuesCache can be used instead of the Direct DocValues format which also provides uncompressed in-memory docValues. The DocValuesCache can be used in situations when it is not practical to re-index to use Direct docValues.
  • Constructor Details

    • DocValuesCache

      public DocValuesCache()
  • Method Details

    • getNumericDocValues

      public static org.apache.lucene.index.NumericDocValues getNumericDocValues(String field, org.apache.lucene.index.LeafReader reader) throws IOException
      Throws:
      IOException