Class DocValuesCache


  • public class DocValuesCache
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      DocValuesCache()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.lucene.index.NumericDocValues getNumericDocValues​(java.lang.String field, org.apache.lucene.index.LeafReader reader)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DocValuesCache

        public DocValuesCache()
    • Method Detail

      • getNumericDocValues

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