Package org.apache.solr.search
Class NumericHidingLeafReader
- java.lang.Object
-
- org.apache.lucene.index.IndexReader
-
- org.apache.lucene.index.LeafReader
-
- org.apache.lucene.index.FilterLeafReader
-
- org.apache.solr.search.NumericHidingLeafReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
@Deprecated public class NumericHidingLeafReader extends org.apache.lucene.index.FilterLeafReader
Deprecated.This class is useful in two specific situations:- calling
ord
orrord
functions on a single-valued numeric field. - doing grouped faceting (
group.facet
) on a single-valued numeric field.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.index.FilterLeafReader
org.apache.lucene.index.FilterLeafReader.FilterFields, org.apache.lucene.index.FilterLeafReader.FilterPostingsEnum, org.apache.lucene.index.FilterLeafReader.FilterTerms, org.apache.lucene.index.FilterLeafReader.FilterTermsEnum
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.lucene.index.BinaryDocValues
getBinaryDocValues(String field)
Deprecated.org.apache.lucene.index.IndexReader.CacheHelper
getCoreCacheHelper()
Deprecated.org.apache.lucene.index.FieldInfos
getFieldInfos()
Deprecated.org.apache.lucene.index.NumericDocValues
getNumericDocValues(String field)
Deprecated.org.apache.lucene.index.IndexReader.CacheHelper
getReaderCacheHelper()
Deprecated.org.apache.lucene.index.SortedDocValues
getSortedDocValues(String field)
Deprecated.org.apache.lucene.index.SortedSetDocValues
getSortedSetDocValues(String field)
Deprecated.static org.apache.lucene.index.LeafReader
wrap(org.apache.lucene.index.LeafReader leafReader, String field)
Deprecated.Returns a view overleafReader
wherefield
is a string instead of a numeric.-
Methods inherited from class org.apache.lucene.index.FilterLeafReader
checkIntegrity, doClose, document, getDelegate, getLiveDocs, getMetaData, getNormValues, getPointValues, getSortedNumericDocValues, getTermVectors, getVectorValues, maxDoc, numDocs, searchNearestVectors, terms, toString, unwrap
-
Methods inherited from class org.apache.lucene.index.LeafReader
docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, totalTermFreq
-
-
-
-
Method Detail
-
wrap
public static org.apache.lucene.index.LeafReader wrap(org.apache.lucene.index.LeafReader leafReader, String field)
Deprecated.Returns a view overleafReader
wherefield
is a string instead of a numeric.
-
getNumericDocValues
public org.apache.lucene.index.NumericDocValues getNumericDocValues(String field) throws IOException
Deprecated.- Overrides:
getNumericDocValues
in classorg.apache.lucene.index.FilterLeafReader
- Throws:
IOException
-
getBinaryDocValues
public org.apache.lucene.index.BinaryDocValues getBinaryDocValues(String field) throws IOException
Deprecated.- Overrides:
getBinaryDocValues
in classorg.apache.lucene.index.FilterLeafReader
- Throws:
IOException
-
getSortedDocValues
public org.apache.lucene.index.SortedDocValues getSortedDocValues(String field) throws IOException
Deprecated.- Overrides:
getSortedDocValues
in classorg.apache.lucene.index.FilterLeafReader
- Throws:
IOException
-
getSortedSetDocValues
public org.apache.lucene.index.SortedSetDocValues getSortedSetDocValues(String field) throws IOException
Deprecated.- Overrides:
getSortedSetDocValues
in classorg.apache.lucene.index.FilterLeafReader
- Throws:
IOException
-
getFieldInfos
public org.apache.lucene.index.FieldInfos getFieldInfos()
Deprecated.- Overrides:
getFieldInfos
in classorg.apache.lucene.index.FilterLeafReader
-
getCoreCacheHelper
public org.apache.lucene.index.IndexReader.CacheHelper getCoreCacheHelper()
Deprecated.- Specified by:
getCoreCacheHelper
in classorg.apache.lucene.index.LeafReader
-
getReaderCacheHelper
public org.apache.lucene.index.IndexReader.CacheHelper getReaderCacheHelper()
Deprecated.- Specified by:
getReaderCacheHelper
in classorg.apache.lucene.index.IndexReader
-
-