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 |
ReaderManager
Utility class to safely share
DirectoryReader instances across
multiple threads, while periodically reopening. |
Modifier and Type | Class and Description |
---|---|
class |
SearcherManager
Utility class to safely share
IndexSearcher instances across multiple
threads, while periodically reopening. |
Modifier and Type | Field and Description |
---|---|
private ReferenceManager<T> |
ControlledRealTimeReopenThread.manager |
private ReferenceManager<S> |
LiveFieldValues.mgr |
Constructor and Description |
---|
ControlledRealTimeReopenThread(IndexWriter writer,
ReferenceManager<T> manager,
double targetMaxStaleSec,
double targetMinStaleSec)
Create ControlledRealTimeReopenThread, to periodically
reopen the
ReferenceManager . |
LiveFieldValues(ReferenceManager<S> mgr,
T missingValue)
The missingValue must be non-null.
|