Package | Description |
---|---|
org.apache.lucene.benchmark.byTask |
Benchmarking Lucene By Tasks.
|
org.apache.lucene.benchmark.byTask.tasks |
Extendable benchmark tasks.
|
org.apache.lucene.facet.taxonomy.directory |
Taxonomy implemented using a Lucene-Index
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
IndexWriter |
PerfRunData.getIndexWriter() |
Modifier and Type | Method and Description |
---|---|
void |
PerfRunData.setIndexWriter(IndexWriter indexWriter) |
Modifier and Type | Method and Description |
---|---|
static IndexWriter |
CreateIndexTask.configureWriter(Config config,
PerfRunData runData,
IndexWriterConfig.OpenMode mode,
IndexCommit commit) |
Modifier and Type | Method and Description |
---|---|
protected IndexWriter |
DirectoryTaxonomyWriter.openIndexWriter(Directory directory,
IndexWriterConfig config)
Open internal index writer, which contains the taxonomy data.
|
Modifier and Type | Field and Description |
---|---|
IndexWriter |
RandomIndexWriter.w |
protected IndexWriter |
ThreadedIndexingAndSearchingTestCase.writer |
protected IndexWriter |
ConcurrentMergeScheduler.writer |
Modifier and Type | Field and Description |
---|---|
protected SetOnce<IndexWriter> |
MergePolicy.writer |
Modifier and Type | Method and Description |
---|---|
protected IndexReader |
IndexReader.doOpenIfChanged(IndexWriter writer,
boolean applyAllDeletes)
If the index has changed since it was opened, open and return a new reader;
else, return
null . |
protected ConcurrentMergeScheduler.MergeThread |
ConcurrentMergeScheduler.getMergeThread(IndexWriter writer,
MergePolicy.OneMerge merge)
Create and return a new MergeThread
|
void |
SerialMergeScheduler.merge(IndexWriter writer)
Just do the merges in sequence.
|
void |
NoMergeScheduler.merge(IndexWriter writer) |
abstract void |
MergeScheduler.merge(IndexWriter writer)
Run the merges provided by
getNextMerge() . |
void |
ConcurrentMergeScheduler.merge(IndexWriter writer) |
static IndexReader |
IndexReader.open(IndexWriter writer,
boolean applyAllDeletes)
Open a near real time IndexReader from the
IndexWriter . |
static IndexReader |
IndexReader.openIfChanged(IndexReader oldReader,
IndexWriter writer,
boolean applyAllDeletes)
Expert: If there changes (committed or not) in the
IndexWriter versus what the provided reader is
searching, then open and return a new read-only
IndexReader searching both committed and uncommitted
changes from the writer; else, return null (though, the
current implementation never returns null). |
IndexReader |
IndexReader.reopen(IndexWriter writer,
boolean applyAllDeletes)
Deprecated.
|
void |
UpgradeIndexMergePolicy.setIndexWriter(IndexWriter writer) |
void |
NoMergePolicy.setIndexWriter(IndexWriter writer) |
void |
MergePolicy.setIndexWriter(IndexWriter writer)
Sets the
IndexWriter to use by this merge policy. |
Constructor and Description |
---|
ConcurrentMergeScheduler.MergeThread(IndexWriter writer,
MergePolicy.OneMerge startMerge) |
Modifier and Type | Method and Description |
---|---|
IndexWriter |
NRTManager.TrackingIndexWriter.getIndexWriter() |
Constructor and Description |
---|
NRTManager.TrackingIndexWriter(IndexWriter writer) |
SearcherManager(IndexWriter writer,
boolean applyAllDeletes,
SearcherFactory searcherFactory)
Creates and returns a new SearcherManager from the given
IndexWriter . |
Modifier and Type | Method and Description |
---|---|
static void |
_TestUtil.keepFullyDeletedSegments(IndexWriter w) |
static void |
_TestUtil.reduceOpenFiles(IndexWriter w)
just tries to configure things to keep the open file
count lowish
|
static void |
_TestUtil.syncConcurrentMerges(IndexWriter writer) |