| 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 |
FilterAtomicReader
A
FilterAtomicReader contains another AtomicReader, which it
uses as its basic source of data, possibly transforming the data along the
way or providing additional functionality. |
class |
ParallelAtomicReader
An
AtomicReader which reads multiple, parallel indexes. |
class |
SegmentReader
IndexReader implementation over a single segment.
|
class |
SlowCompositeReaderWrapper
This class forces a composite reader (eg a
MultiReader or DirectoryReader) to emulate an
atomic reader. |
| Modifier and Type | Field and Description |
|---|---|
protected AtomicReader |
FilterAtomicReader.in
The underlying AtomicReader.
|
| Modifier and Type | Field and Description |
|---|---|
List<AtomicReader> |
MergeState.readers
Readers being merged.
|
| Modifier and Type | Method and Description |
|---|---|
AtomicReader |
AtomicReaderContext.reader() |
static AtomicReader |
FilterAtomicReader.unwrap(AtomicReader reader)
Get the wrapped instance by
reader as long as this reader is
an intance of FilterAtomicReader. |
abstract AtomicReader |
FilterDirectoryReader.SubReaderWrapper.wrap(AtomicReader reader)
Wrap one of the parent DirectoryReader's subreaders
|
AtomicReader |
FilterDirectoryReader.StandardReaderWrapper.wrap(AtomicReader reader) |
static AtomicReader |
SlowCompositeReaderWrapper.wrap(IndexReader reader)
This method is sugar for getting an
AtomicReader from
an IndexReader of any kind. |
| Modifier and Type | Method and Description |
|---|---|
List<AtomicReader> |
MergePolicy.OneMerge.getMergeReaders()
Expert: Get the list of readers to merge.
|
| Modifier and Type | Method and Description |
|---|---|
static MergeState.DocMap |
MergeState.DocMap.build(AtomicReader reader)
Creates a
MergeState.DocMap instance appropriate for
this reader. |
static BinaryDocValues |
DocValues.getBinary(AtomicReader in,
String field)
Returns BinaryDocValues for the reader, or
DocValues.emptyBinary() if it has none. |
static Bits |
DocValues.getDocsWithField(AtomicReader in,
String field)
Returns Bits for the reader, or
Bits matching nothing if it has none. |
static NumericDocValues |
DocValues.getNumeric(AtomicReader in,
String field)
Returns NumericDocValues for the reader, or
DocValues.emptyNumeric() if it has none. |
static SortedDocValues |
DocValues.getSorted(AtomicReader in,
String field)
Returns SortedDocValues for the reader, or
DocValues.emptySorted() if it has none. |
static SortedNumericDocValues |
DocValues.getSortedNumeric(AtomicReader in,
String field)
Returns SortedNumericDocValues for the reader, or
DocValues.emptySortedNumeric(int) if it has none. |
static SortedSetDocValues |
DocValues.getSortedSet(AtomicReader in,
String field)
Returns SortedSetDocValues for the reader, or
DocValues.emptySortedSet() if it has none. |
static CheckIndex.Status.DocValuesStatus |
CheckIndex.testDocValues(AtomicReader reader,
PrintStream infoStream,
boolean failFast)
Test docvalues.
|
static CheckIndex.Status.FieldNormStatus |
CheckIndex.testFieldNorms(AtomicReader reader,
PrintStream infoStream,
boolean failFast)
Test field norms.
|
static CheckIndex.Status.TermIndexStatus |
CheckIndex.testPostings(AtomicReader reader,
PrintStream infoStream)
Test the term index.
|
static CheckIndex.Status.TermIndexStatus |
CheckIndex.testPostings(AtomicReader reader,
PrintStream infoStream,
boolean verbose,
boolean failFast)
Test the term index.
|
static CheckIndex.Status.StoredFieldStatus |
CheckIndex.testStoredFields(AtomicReader reader,
PrintStream infoStream,
boolean failFast)
Test stored fields.
|
static CheckIndex.Status.TermVectorStatus |
CheckIndex.testTermVectors(AtomicReader reader,
PrintStream infoStream)
Test term vectors.
|
static CheckIndex.Status.TermVectorStatus |
CheckIndex.testTermVectors(AtomicReader reader,
PrintStream infoStream,
boolean verbose,
boolean crossCheckTermVectors,
boolean failFast)
Test term vectors.
|
static AtomicReader |
FilterAtomicReader.unwrap(AtomicReader reader)
Get the wrapped instance by
reader as long as this reader is
an intance of FilterAtomicReader. |
abstract void |
IndexWriter.IndexReaderWarmer.warm(AtomicReader reader)
Invoked on the
AtomicReader for the newly
merged segment, before that segment is made visible
to near-real-time readers. |
void |
SimpleMergedSegmentWarmer.warm(AtomicReader reader) |
abstract AtomicReader |
FilterDirectoryReader.SubReaderWrapper.wrap(AtomicReader reader)
Wrap one of the parent DirectoryReader's subreaders
|
AtomicReader |
FilterDirectoryReader.StandardReaderWrapper.wrap(AtomicReader reader) |
| Constructor and Description |
|---|
DirectoryReader(Directory directory,
AtomicReader[] segmentReaders)
Expert: Constructs a
DirectoryReader on the given subReaders. |
FilterAtomicReader(AtomicReader in)
Construct a FilterAtomicReader based on the specified base reader.
|
ParallelAtomicReader(AtomicReader... readers)
Create a ParallelAtomicReader based on the provided
readers; auto-closes the given readers on
IndexReader.close(). |
ParallelAtomicReader(boolean closeSubReaders,
AtomicReader... readers)
Create a ParallelAtomicReader based on the provided
readers.
|
ParallelAtomicReader(boolean closeSubReaders,
AtomicReader[] readers,
AtomicReader[] storedFieldsReaders)
Expert: create a ParallelAtomicReader based on the provided
readers and storedFieldReaders; when a document is
loaded, only storedFieldsReaders will be used.
|
ParallelAtomicReader(boolean closeSubReaders,
AtomicReader[] readers,
AtomicReader[] storedFieldsReaders)
Expert: create a ParallelAtomicReader based on the provided
readers and storedFieldReaders; when a document is
loaded, only storedFieldsReaders will be used.
|
| Modifier and Type | Method and Description |
|---|---|
protected DocIdSet |
CachingWrapperFilter.cacheImpl(DocIdSetIterator iterator,
AtomicReader reader)
Default cache implementation: uses
WAH8DocIdSet. |
protected DocIdSet |
CachingWrapperFilter.docIdSetToCache(DocIdSet docIdSet,
AtomicReader reader)
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.