Uses of Class
org.apache.lucene.index.IndexWriterConfig
Packages that use IndexWriterConfig
Package
Description
Taxonomy index implementation using on top of a Directory.
Code to maintain and access indices.
Miscellaneous Lucene utilities that don't really fit anywhere else.
Misc index tools and index support.
Monitoring framework
Suggest alternate spellings for words.
Analyzer based autosuggest.
-
Uses of IndexWriterConfig in org.apache.lucene.facet.taxonomy.directory
Methods in org.apache.lucene.facet.taxonomy.directory that return IndexWriterConfigModifier and TypeMethodDescriptionprotected IndexWriterConfig
DirectoryTaxonomyWriter.createIndexWriterConfig
(IndexWriterConfig.OpenMode openMode) Create theIndexWriterConfig
that would be used for opening the internal index writer.Methods in org.apache.lucene.facet.taxonomy.directory with parameters of type IndexWriterConfigModifier and TypeMethodDescriptionprotected IndexWriter
DirectoryTaxonomyWriter.openIndexWriter
(Directory directory, IndexWriterConfig config) Open internal index writer, which contains the taxonomy data. -
Uses of IndexWriterConfig in org.apache.lucene.index
Fields in org.apache.lucene.index declared as IndexWriterConfigMethods in org.apache.lucene.index that return IndexWriterConfigModifier and TypeMethodDescriptionIndexWriterConfig.setCheckPendingFlushUpdate
(boolean checkPendingFlushOnUpdate) Set theCodec
.IndexWriterConfig.setCommitOnClose
(boolean commitOnClose) Sets if callsIndexWriter.close()
should first commit before closing.(package private) IndexWriterConfig
IndexWriterConfig.setFlushPolicy
(FlushPolicy flushPolicy) Expert: Controls when segments are flushed to disk during indexing.IndexWriterConfig.setIndexCommit
(IndexCommit commit) Expert: allows to open a certain commit point.IndexWriterConfig.setIndexCreatedVersionMajor
(int indexCreatedVersionMajor) Expert: set the compatibility version to use for this index.IndexWriterConfig.setIndexDeletionPolicy
(IndexDeletionPolicy delPolicy) Expert: allows an optionalIndexDeletionPolicy
implementation to be specified.IndexWriterConfig.setIndexSort
(Sort sort) Set theSort
order to use for all (flushed and merged) segments.(package private) IndexWriterConfig
IndexWriterConfig.setIndexWriter
(IndexWriter writer) Sets theIndexWriter
this config is attached to.IndexWriterConfig.setIndexWriterEventListener
(IndexWriterEventListener eventListener) Set event listener to record key events in IndexWriterIndexWriterConfig.setInfoStream
(PrintStream printStream) Convenience method that usesPrintStreamInfoStream
.IndexWriterConfig.setInfoStream
(InfoStream infoStream) Information about merges, deletes and a message when maxFieldLength is reached will be printed to this.IndexWriterConfig.setLeafSorter
(Comparator<LeafReader> leafSorter) Set the comparator for sorting leaf readers.IndexWriterConfig.setMaxBufferedDocs
(int maxBufferedDocs) IndexWriterConfig.setMaxFullFlushMergeWaitMillis
(long maxFullFlushMergeWaitMillis) Expert: sets the amount of time to wait for merges (duringIndexWriter.commit()
orIndexWriter.getReader(boolean, boolean)
) returned by MergePolicy.findFullFlushMerges(...).IndexWriterConfig.setMergedSegmentWarmer
(IndexWriter.IndexReaderWarmer mergeSegmentWarmer) IndexWriterConfig.setMergePolicy
(MergePolicy mergePolicy) IndexWriterConfig.setMergeScheduler
(MergeScheduler mergeScheduler) Expert: sets the merge scheduler used by this writer.IndexWriterConfig.setOpenMode
(IndexWriterConfig.OpenMode openMode) SpecifiesIndexWriterConfig.OpenMode
of the index.IndexWriterConfig.setParentField
(String parentField) Sets the parent document field.IndexWriterConfig.setRAMBufferSizeMB
(double ramBufferSizeMB) IndexWriterConfig.setRAMPerThreadHardLimitMB
(int perThreadHardLimitMB) Expert: Sets the maximum memory consumption per thread triggering a forced flush if exceeded.IndexWriterConfig.setReaderPooling
(boolean readerPooling) By default, IndexWriter does not pool the SegmentReaders it must open for deletions and merging, unless a near-real-time reader has been obtained by callingDirectoryReader.open(IndexWriter)
.IndexWriterConfig.setSimilarity
(Similarity similarity) Expert: set theSimilarity
implementation used by this IndexWriter.IndexWriterConfig.setSoftDeletesField
(String softDeletesField) Sets the soft deletes field.IndexWriterConfig.setUseCompoundFile
(boolean useCompoundFile) Constructors in org.apache.lucene.index with parameters of type IndexWriterConfigModifierConstructorDescriptionIndexUpgrader
(Directory dir, IndexWriterConfig iwc, boolean deletePriorCommits) Creates index upgrader on the given directory, using anIndexWriter
using the given config.IndexWriter
(Directory d, IndexWriterConfig conf) Constructs a new IndexWriter per the settings given inconf
. -
Uses of IndexWriterConfig in org.apache.lucene.misc
Fields in org.apache.lucene.misc declared as IndexWriterConfigModifier and TypeFieldDescription(package private) IndexWriterConfig
IndexMergeTool.Options.config
-
Uses of IndexWriterConfig in org.apache.lucene.misc.index
Fields in org.apache.lucene.misc.index declared as IndexWriterConfigModifier and TypeFieldDescriptionprotected final IndexWriterConfig
IndexRearranger.config
private final IndexWriterConfig
PKIndexSplitter.config1
private final IndexWriterConfig
PKIndexSplitter.config2
Methods in org.apache.lucene.misc.index that return IndexWriterConfigModifier and TypeMethodDescriptionprivate static IndexWriterConfig
PKIndexSplitter.newDefaultConfig()
Methods in org.apache.lucene.misc.index with parameters of type IndexWriterConfigModifier and TypeMethodDescriptionprivate void
PKIndexSplitter.createIndex
(IndexWriterConfig config, Directory target, DirectoryReader reader, Query preserveFilter, boolean negateFilter) Constructors in org.apache.lucene.misc.index with parameters of type IndexWriterConfigModifierConstructorDescriptionIndexRearranger
(Directory input, Directory output, IndexWriterConfig config, List<IndexRearranger.DocumentSelector> documentSelectors) ConstructorPKIndexSplitter
(Directory input, Directory dir1, Directory dir2, Term midTerm, IndexWriterConfig config1, IndexWriterConfig config2) PKIndexSplitter
(Directory input, Directory dir1, Directory dir2, Query docsInFirstIndex, IndexWriterConfig config1, IndexWriterConfig config2) -
Uses of IndexWriterConfig in org.apache.lucene.monitor
Methods in org.apache.lucene.monitor that return IndexWriterConfigModifier and TypeMethodDescriptionprivate static IndexWriterConfig
MonitorConfiguration.defaultIndexWriterConfig()
protected IndexWriterConfig
MonitorConfiguration.getIndexWriterConfig()
-
Uses of IndexWriterConfig in org.apache.lucene.search.spell
Methods in org.apache.lucene.search.spell with parameters of type IndexWriterConfigModifier and TypeMethodDescriptionfinal void
SpellChecker.indexDictionary
(Dictionary dict, IndexWriterConfig config, boolean fullMerge) Indexes the data from the givenDictionary
. -
Uses of IndexWriterConfig in org.apache.lucene.search.suggest.analyzing
Methods in org.apache.lucene.search.suggest.analyzing that return IndexWriterConfigModifier and TypeMethodDescriptionprotected IndexWriterConfig
AnalyzingInfixSuggester.getIndexWriterConfig
(Analyzer indexAnalyzer, IndexWriterConfig.OpenMode openMode) Override this to customize index settings, e.g.