Class IndexLookup

    • Field Detail

      • FLAG_OFFSETS

        public static final int FLAG_OFFSETS
        Flag to pass to IndexField#get(String, flags) if you require offsets in the returned IndexFieldTerm.
        See Also:
        Constant Field Values
      • FLAG_PAYLOADS

        public static final int FLAG_PAYLOADS
        Flag to pass to IndexField#get(String, flags) if you require payloads in the returned IndexFieldTerm.
        See Also:
        Constant Field Values
      • FLAG_FREQUENCIES

        public static final int FLAG_FREQUENCIES
        Flag to pass to IndexField#get(String, flags) if you require frequencies in the returned IndexFieldTerm. Frequencies might be returned anyway for some lucene codecs even if this flag is no set.
        See Also:
        Constant Field Values
      • FLAG_POSITIONS

        public static final int FLAG_POSITIONS
        Flag to pass to IndexField#get(String, flags) if you require positions in the returned IndexFieldTerm.
        See Also:
        Constant Field Values
      • FLAG_CACHE

        public static final int FLAG_CACHE
        Flag to pass to IndexField#get(String, flags) if you require positions in the returned IndexFieldTerm.
        See Also:
        Constant Field Values
    • Constructor Detail

      • IndexLookup

        public IndexLookup(<any> builder)
    • Method Detail

      • numDocs

        public int numDocs()
      • maxDoc

        public int maxDoc()
      • numDeletedDocs

        public int numDeletedDocs()
      • setNextReader

        public void setNextReader(org.apache.lucene.index.AtomicReaderContext context)
      • setReaderInFields

        protected void setReaderInFields()
      • setNextDocId

        public void setNextDocId(int docId)
      • setNextDocIdInFields

        protected void setNextDocIdInFields()
      • getDocId

        public int getDocId()
      • getParentReader

        public org.apache.lucene.index.IndexReader getParentReader()
      • getIndexSearcher

        public org.apache.lucene.search.IndexSearcher getIndexSearcher()
      • getReaderContext

        public org.apache.lucene.index.IndexReaderContext getReaderContext()