Class 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 or rord 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
      • Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader

        org.apache.lucene.index.IndexReader.CacheHelper, org.apache.lucene.index.IndexReader.CacheKey, org.apache.lucene.index.IndexReader.ClosedListener
    • Field Summary

      • Fields inherited from class org.apache.lucene.index.FilterLeafReader

        in
    • 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 over leafReader where field 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
      • Methods inherited from class org.apache.lucene.index.IndexReader

        close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRef
    • Method Detail

      • wrap

        public static org.apache.lucene.index.LeafReader wrap​(org.apache.lucene.index.LeafReader leafReader,
                                                              String field)
        Deprecated.
        Returns a view over leafReader where field is a string instead of a numeric.
      • getNumericDocValues

        public org.apache.lucene.index.NumericDocValues getNumericDocValues​(String field)
                                                                     throws IOException
        Deprecated.
        Overrides:
        getNumericDocValues in class org.apache.lucene.index.FilterLeafReader
        Throws:
        IOException
      • getBinaryDocValues

        public org.apache.lucene.index.BinaryDocValues getBinaryDocValues​(String field)
                                                                   throws IOException
        Deprecated.
        Overrides:
        getBinaryDocValues in class org.apache.lucene.index.FilterLeafReader
        Throws:
        IOException
      • getSortedDocValues

        public org.apache.lucene.index.SortedDocValues getSortedDocValues​(String field)
                                                                   throws IOException
        Deprecated.
        Overrides:
        getSortedDocValues in class org.apache.lucene.index.FilterLeafReader
        Throws:
        IOException
      • getSortedSetDocValues

        public org.apache.lucene.index.SortedSetDocValues getSortedSetDocValues​(String field)
                                                                         throws IOException
        Deprecated.
        Overrides:
        getSortedSetDocValues in class org.apache.lucene.index.FilterLeafReader
        Throws:
        IOException
      • getFieldInfos

        public org.apache.lucene.index.FieldInfos getFieldInfos()
        Deprecated.
        Overrides:
        getFieldInfos in class org.apache.lucene.index.FilterLeafReader
      • getCoreCacheHelper

        public org.apache.lucene.index.IndexReader.CacheHelper getCoreCacheHelper()
        Deprecated.
        Specified by:
        getCoreCacheHelper in class org.apache.lucene.index.LeafReader
      • getReaderCacheHelper

        public org.apache.lucene.index.IndexReader.CacheHelper getReaderCacheHelper()
        Deprecated.
        Specified by:
        getReaderCacheHelper in class org.apache.lucene.index.IndexReader