Uses of Class
org.apache.lucene.index.IndexWriter
-
Packages that use IndexWriter 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-Indexorg.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.util Some utility classes. -
-
Uses of IndexWriter in org.apache.lucene.benchmark.byTask
Methods in org.apache.lucene.benchmark.byTask that return IndexWriter Modifier and Type Method Description IndexWriter
PerfRunData. getIndexWriter()
Methods in org.apache.lucene.benchmark.byTask with parameters of type IndexWriter Modifier and Type Method Description void
PerfRunData. setIndexWriter(IndexWriter indexWriter)
-
Uses of IndexWriter in org.apache.lucene.benchmark.byTask.tasks
Methods in org.apache.lucene.benchmark.byTask.tasks that return IndexWriter Modifier and Type Method Description static IndexWriter
CreateIndexTask. configureWriter(Config config, PerfRunData runData, IndexWriterConfig.OpenMode mode, IndexCommit commit)
-
Uses of IndexWriter in org.apache.lucene.facet.taxonomy.directory
Methods in org.apache.lucene.facet.taxonomy.directory that return IndexWriter Modifier and Type Method Description protected IndexWriter
DirectoryTaxonomyWriter. openIndexWriter(Directory directory, IndexWriterConfig config)
Open internal index writer, which contains the taxonomy data. -
Uses of IndexWriter in org.apache.lucene.index
Fields in org.apache.lucene.index declared as IndexWriter Modifier and Type Field Description IndexWriter
RandomIndexWriter. w
protected IndexWriter
ConcurrentMergeScheduler. writer
protected IndexWriter
ThreadedIndexingAndSearchingTestCase. writer
Fields in org.apache.lucene.index with type parameters of type IndexWriter Modifier and Type Field Description protected SetOnce<IndexWriter>
MergePolicy. writer
Methods in org.apache.lucene.index with parameters of type IndexWriter Modifier and Type Method 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, returnnull
.protected ConcurrentMergeScheduler.MergeThread
ConcurrentMergeScheduler. getMergeThread(IndexWriter writer, MergePolicy.OneMerge merge)
Create and return a new MergeThreadvoid
ConcurrentMergeScheduler. merge(IndexWriter writer)
abstract void
MergeScheduler. merge(IndexWriter writer)
Run the merges provided bygetNextMerge()
.void
NoMergeScheduler. merge(IndexWriter writer)
void
SerialMergeScheduler. merge(IndexWriter writer)
Just do the merges in sequence.static IndexReader
IndexReader. open(IndexWriter writer, boolean applyAllDeletes)
Open a near real time IndexReader from theIndexWriter
.static IndexReader
IndexReader. openIfChanged(IndexReader oldReader, IndexWriter writer, boolean applyAllDeletes)
Expert: If there changes (committed or not) in theIndexWriter
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
MergePolicy. setIndexWriter(IndexWriter writer)
Sets theIndexWriter
to use by this merge policy.void
NoMergePolicy. setIndexWriter(IndexWriter writer)
void
UpgradeIndexMergePolicy. setIndexWriter(IndexWriter writer)
Constructors in org.apache.lucene.index with parameters of type IndexWriter Constructor Description MergeThread(IndexWriter writer, MergePolicy.OneMerge startMerge)
-
Uses of IndexWriter in org.apache.lucene.search
Methods in org.apache.lucene.search that return IndexWriter Modifier and Type Method Description IndexWriter
NRTManager.TrackingIndexWriter. getIndexWriter()
Constructors in org.apache.lucene.search with parameters of type IndexWriter Constructor Description SearcherManager(IndexWriter writer, boolean applyAllDeletes, SearcherFactory searcherFactory)
Creates and returns a new SearcherManager from the givenIndexWriter
.TrackingIndexWriter(IndexWriter writer)
-
Uses of IndexWriter in org.apache.lucene.util
Methods in org.apache.lucene.util with parameters of type IndexWriter Modifier and Type Method Description static void
_TestUtil. keepFullyDeletedSegments(IndexWriter w)
static void
_TestUtil. reduceOpenFiles(IndexWriter w)
just tries to configure things to keep the open file count lowishstatic void
_TestUtil. syncConcurrentMerges(IndexWriter writer)
-