Uses of Class

Packages that use IndexWriter
org.apache.lucene.index Code to maintain and access indices. Code to search indices. 

Uses of IndexWriter in org.apache.lucene.index

Fields in org.apache.lucene.index declared as IndexWriter
protected  IndexWriter ConcurrentMergeScheduler.writer
          IndexWriter that owns this instance.

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

Methods in org.apache.lucene.index with parameters of type IndexWriter
protected abstract  DirectoryReader DirectoryReader.doOpenIfChanged(IndexWriter writer, boolean applyAllDeletes)
          Implement this method to support DirectoryReader.openIfChanged(DirectoryReader,IndexWriter,boolean).
protected  ConcurrentMergeScheduler.MergeThread ConcurrentMergeScheduler.getMergeThread(IndexWriter writer, MergePolicy.OneMerge merge)
          Create and return a new MergeThread
 void NoMergeScheduler.merge(IndexWriter writer)
abstract  void MergeScheduler.merge(IndexWriter writer)
          Run the merges provided by getNextMerge().
 void ConcurrentMergeScheduler.merge(IndexWriter writer)
 void SerialMergeScheduler.merge(IndexWriter writer)
          Just do the merges in sequence.
static DirectoryReader writer, boolean applyAllDeletes)
          Deprecated. Use,boolean)
static DirectoryReader writer, boolean applyAllDeletes)
          Open a near real time IndexReader from the IndexWriter.
static DirectoryReader DirectoryReader.openIfChanged(DirectoryReader 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 IndexReader searching both committed and uncommitted changes from the writer; else, return null (though, the current implementation never returns null).
 void NoMergePolicy.setIndexWriter(IndexWriter writer)
 void UpgradeIndexMergePolicy.setIndexWriter(IndexWriter writer)
 void MergePolicy.setIndexWriter(IndexWriter writer)
          Sets the IndexWriter to use by this merge policy.

Constructors in org.apache.lucene.index with parameters of type IndexWriter
ConcurrentMergeScheduler.MergeThread(IndexWriter writer, MergePolicy.OneMerge startMerge)
          Sole constructor.
ReaderManager(IndexWriter writer, boolean applyAllDeletes)
          Creates and returns a new ReaderManager from the given IndexWriter.

Uses of IndexWriter in

Methods in that return IndexWriter
 IndexWriter NRTManager.TrackingIndexWriter.getIndexWriter()

Constructors in with parameters of type IndexWriter
NRTManager.TrackingIndexWriter(IndexWriter writer)
SearcherManager(IndexWriter writer, boolean applyAllDeletes, SearcherFactory searcherFactory)
          Creates and returns a new SearcherManager from the given IndexWriter.

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