Package org.alfresco.solr.query
Class DocValuesCache
java.lang.Object
org.alfresco.solr.query.DocValuesCache
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.lucene.index.NumericDocValuesgetNumericDocValues(String field, org.apache.lucene.index.LeafReader reader)
-
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
-