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 IndexWriterPerfRunData. getIndexWriter()Methods in org.apache.lucene.benchmark.byTask with parameters of type IndexWriter Modifier and Type Method Description voidPerfRunData. 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 IndexWriterCreateIndexTask. 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 IndexWriterDirectoryTaxonomyWriter. 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 IndexWriterRandomIndexWriter. wprotected IndexWriterConcurrentMergeScheduler. writerprotected IndexWriterThreadedIndexingAndSearchingTestCase. writerFields in org.apache.lucene.index with type parameters of type IndexWriter Modifier and Type Field Description protected SetOnce<IndexWriter>MergePolicy. writerMethods in org.apache.lucene.index with parameters of type IndexWriter Modifier and Type Method Description protected IndexReaderIndexReader. doOpenIfChanged(IndexWriter writer, boolean applyAllDeletes)If the index has changed since it was opened, open and return a new reader; else, returnnull.protected ConcurrentMergeScheduler.MergeThreadConcurrentMergeScheduler. getMergeThread(IndexWriter writer, MergePolicy.OneMerge merge)Create and return a new MergeThreadvoidConcurrentMergeScheduler. merge(IndexWriter writer)abstract voidMergeScheduler. merge(IndexWriter writer)Run the merges provided bygetNextMerge().voidNoMergeScheduler. merge(IndexWriter writer)voidSerialMergeScheduler. merge(IndexWriter writer)Just do the merges in sequence.static IndexReaderIndexReader. open(IndexWriter writer, boolean applyAllDeletes)Open a near real time IndexReader from theIndexWriter.static IndexReaderIndexReader. openIfChanged(IndexReader oldReader, IndexWriter writer, boolean applyAllDeletes)Expert: If there changes (committed or not) in theIndexWriterversus 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).IndexReaderIndexReader. reopen(IndexWriter writer, boolean applyAllDeletes)Deprecated.voidMergePolicy. setIndexWriter(IndexWriter writer)Sets theIndexWriterto use by this merge policy.voidNoMergePolicy. setIndexWriter(IndexWriter writer)voidUpgradeIndexMergePolicy. 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 IndexWriterNRTManager.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)
-