Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeReaderContext
IndexReaderContext for CompositeReader instance. |
class |
LeafReaderContext
IndexReaderContext for LeafReader instances. |
Modifier and Type | Method and Description |
---|---|
abstract IndexReaderContext |
IndexReader.getContext()
Expert: Returns the root
IndexReaderContext for this
IndexReader 's sub-reader tree. |
static IndexReaderContext |
ReaderUtil.getTopLevelContext(IndexReaderContext context)
Walks up the reader tree and return the given context's top level reader
context, or in other words the reader tree's root context.
|
Modifier and Type | Method and Description |
---|---|
List<IndexReaderContext> |
LeafReaderContext.children() |
List<IndexReaderContext> |
CompositeReaderContext.children() |
abstract List<IndexReaderContext> |
IndexReaderContext.children()
Returns the context's children iff this context is a composite context
otherwise
null . |
Modifier and Type | Method and Description |
---|---|
static TermStates |
TermStates.build(IndexReaderContext context,
Term term,
boolean needsStats)
|
static IndexReaderContext |
ReaderUtil.getTopLevelContext(IndexReaderContext context)
Walks up the reader tree and return the given context's top level reader
context, or in other words the reader tree's root context.
|
boolean |
TermStates.wasBuiltFor(IndexReaderContext context)
Expert: Return whether this
TermStates was built for the given
IndexReaderContext . |
Constructor and Description |
---|
TermStates(IndexReaderContext context)
Creates an empty
TermStates from a IndexReaderContext |
TermStates(IndexReaderContext context,
TermState state,
int ord,
int docFreq,
long totalTermFreq)
|
Modifier and Type | Field and Description |
---|---|
protected IndexReaderContext |
IndexSearcher.readerContext |
Modifier and Type | Method and Description |
---|---|
IndexReaderContext |
IndexSearcher.getTopReaderContext()
Returns this searchers the top-level
IndexReaderContext . |
Constructor and Description |
---|
IndexSearcher(IndexReaderContext context)
Creates a searcher searching the provided top-level
IndexReaderContext . |
IndexSearcher(IndexReaderContext context,
Executor executor)
Creates a searcher searching the provided top-level
IndexReaderContext . |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.