Uses of Class

Packages that use IndexWriter
Benchmarking Lucene By Tasks. 
org.apache.lucene.benchmark.byTask.tasks Extendable benchmark tasks. Taxonomy implemented using a Lucene-Index 
org.apache.lucene.index Code to maintain and access indices. Code to search indices. 

Uses of IndexWriter in org.apache.lucene.benchmark.byTask

Methods in org.apache.lucene.benchmark.byTask that return IndexWriter
 IndexWriter PerfRunData.getIndexWriter()

Methods in org.apache.lucene.benchmark.byTask with parameters of type IndexWriter
 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
static IndexWriter CreateIndexTask.configureWriter(Config config, PerfRunData runData, IndexWriterConfig.OpenMode mode, IndexCommit commit)

Uses of IndexWriter in

Methods in that return IndexWriter
protected  IndexWriter DirectoryTaxonomyWriter.openIndexWriter(Directory directory, IndexWriterConfig.OpenMode openMode)
          A hook for extensions of this class to provide their own IndexWriter implementation or instance.

Uses of IndexWriter in org.apache.lucene.index

Fields in org.apache.lucene.index declared as IndexWriter
protected  IndexWriter ConcurrentMergeScheduler.writer

Fields in org.apache.lucene.index with type parameters of type IndexWriter
protected  SetOnce<IndexWriter> MergePolicy.writer

Methods in org.apache.lucene.index with parameters of type IndexWriter
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 NoMergeScheduler.merge(IndexWriter writer)
 void SerialMergeScheduler.merge(IndexWriter writer)
          Just do the merges in sequence.
abstract  void MergeScheduler.merge(IndexWriter writer)
          Run the merges provided by getNextMerge().
 void ConcurrentMergeScheduler.merge(IndexWriter writer)
static IndexReader 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. Use IndexReader#openIfChanged(IndexReader,IndexReader,boolean) instead
 void MergePolicy.setIndexWriter(IndexWriter writer)
          Sets the IndexWriter 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
ConcurrentMergeScheduler.MergeThread(IndexWriter writer, MergePolicy.OneMerge startMerge)

Uses of IndexWriter in

Constructors in with parameters of type IndexWriter
NRTManager(IndexWriter writer, ExecutorService es, SearcherWarmer warmer)
          Create new NRTManager.
NRTManager(IndexWriter writer, ExecutorService es, SearcherWarmer warmer, boolean alwaysApplyDeletes)
          Expert: just like NRTManager.NRTManager(IndexWriter,ExecutorService,SearcherWarmer), but you can also specify whether every searcher must apply deletes.
NRTManager(IndexWriter writer, SearcherWarmer warmer)
          Create new NRTManager.
SearcherManager(IndexWriter writer, boolean applyAllDeletes, SearcherWarmer warmer, ExecutorService es)
          Creates and returns a new SearcherManager from the given IndexWriter.

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.