Uses of Class
org.apache.lucene.index.IndexWriterConfig
-
Packages that use IndexWriterConfig Package Description 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.spell Suggest alternate spellings for words.org.apache.lucene.util Some utility classes. -
-
Uses of IndexWriterConfig in org.apache.lucene.benchmark.byTask.tasks
Methods in org.apache.lucene.benchmark.byTask.tasks that return IndexWriterConfig Modifier and Type Method Description static IndexWriterConfig
CreateIndexTask. createWriterConfig(Config config, PerfRunData runData, IndexWriterConfig.OpenMode mode, IndexCommit commit)
-
Uses of IndexWriterConfig in org.apache.lucene.facet.taxonomy.directory
Methods in org.apache.lucene.facet.taxonomy.directory that return IndexWriterConfig Modifier and Type Method Description protected 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 IndexWriterConfig Modifier and Type Method Description protected IndexWriter
DirectoryTaxonomyWriter. openIndexWriter(Directory directory, IndexWriterConfig config)
Open internal index writer, which contains the taxonomy data. -
Uses of IndexWriterConfig in org.apache.lucene.index
Methods in org.apache.lucene.index that return IndexWriterConfig Modifier and Type Method Description IndexWriterConfig
IndexWriter. getConfig()
Returns the privateIndexWriterConfig
, cloned from theIndexWriterConfig
passed toIndexWriter(Directory, IndexWriterConfig)
.IndexWriterConfig
IndexWriterConfig. setIndexCommit(IndexCommit commit)
Expert: allows to open a certain commit point.IndexWriterConfig
IndexWriterConfig. setIndexDeletionPolicy(IndexDeletionPolicy delPolicy)
Expert: allows an optionalIndexDeletionPolicy
implementation to be specified.IndexWriterConfig
IndexWriterConfig. setMaxBufferedDeleteTerms(int maxBufferedDeleteTerms)
Determines the minimal number of delete terms required before the buffered in-memory delete terms are applied and flushed.IndexWriterConfig
IndexWriterConfig. setMaxBufferedDocs(int maxBufferedDocs)
Determines the minimal number of documents required before the buffered in-memory documents are flushed as a new Segment.IndexWriterConfig
IndexWriterConfig. setMaxThreadStates(int maxThreadStates)
Sets the max number of simultaneous threads that may be indexing documents at once in IndexWriter.IndexWriterConfig
IndexWriterConfig. setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer mergeSegmentWarmer)
Set the merged segment warmer.IndexWriterConfig
IndexWriterConfig. setMergePolicy(MergePolicy mergePolicy)
Expert:MergePolicy
is invoked whenever there are changes to the segments in the index.IndexWriterConfig
IndexWriterConfig. setMergeScheduler(MergeScheduler mergeScheduler)
Expert: sets the merge scheduler used by this writer.IndexWriterConfig
IndexWriterConfig. setOpenMode(IndexWriterConfig.OpenMode openMode)
SpecifiesIndexWriterConfig.OpenMode
of the index.IndexWriterConfig
IndexWriterConfig. setRAMBufferSizeMB(double ramBufferSizeMB)
Determines the amount of RAM that may be used for buffering added documents and deletions before they are flushed to the Directory.IndexWriterConfig
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 callingIndexWriter.getReader()
.IndexWriterConfig
IndexWriterConfig. setReaderTermsIndexDivisor(int divisor)
Sets the termsIndexDivisor passed to any readers that IndexWriter opens, for example when applying deletes or creating a near-real-time reader inIndexWriter.getReader()
.IndexWriterConfig
IndexWriterConfig. setSimilarity(Similarity similarity)
Expert: set theSimilarity
implementation used by this IndexWriter.IndexWriterConfig
IndexWriterConfig. setTermIndexInterval(int interval)
Expert: set the interval between indexed terms.IndexWriterConfig
IndexWriterConfig. setWriteLockTimeout(long writeLockTimeout)
Sets the maximum time to wait for a write lock (in milliseconds) for this instance.Constructors in org.apache.lucene.index with parameters of type IndexWriterConfig Constructor Description IndexUpgrader(Directory dir, IndexWriterConfig iwc, PrintStream infoStream, 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
.PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Term midTerm, IndexWriterConfig config1, IndexWriterConfig config2)
PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex, IndexWriterConfig config1, IndexWriterConfig config2)
RandomIndexWriter(Random r, Directory dir, IndexWriterConfig c)
create a RandomIndexWriter with the provided config -
Uses of IndexWriterConfig in org.apache.lucene.search.spell
Methods in org.apache.lucene.search.spell with parameters of type IndexWriterConfig Modifier and Type Method Description void
SpellChecker. indexDictionary(Dictionary dict, IndexWriterConfig config, boolean fullMerge)
Indexes the data from the givenDictionary
. -
Uses of IndexWriterConfig in org.apache.lucene.util
Methods in org.apache.lucene.util that return IndexWriterConfig Modifier and Type Method Description static IndexWriterConfig
LuceneTestCase. newIndexWriterConfig(Random r, Version v, Analyzer a)
create a new index writer config with random defaults using the specified randomstatic IndexWriterConfig
LuceneTestCase. newIndexWriterConfig(Version v, Analyzer a)
create a new index writer config with random defaults
-