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 IndexWriterConfigCreateIndexTask. 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 IndexWriterConfigDirectoryTaxonomyWriter. createIndexWriterConfig(IndexWriterConfig.OpenMode openMode)Create theIndexWriterConfigthat 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 IndexWriterDirectoryTaxonomyWriter. 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 IndexWriterConfigIndexWriter. getConfig()Returns the privateIndexWriterConfig, cloned from theIndexWriterConfigpassed toIndexWriter(Directory, IndexWriterConfig).IndexWriterConfigIndexWriterConfig. setIndexCommit(IndexCommit commit)Expert: allows to open a certain commit point.IndexWriterConfigIndexWriterConfig. setIndexDeletionPolicy(IndexDeletionPolicy delPolicy)Expert: allows an optionalIndexDeletionPolicyimplementation to be specified.IndexWriterConfigIndexWriterConfig. setMaxBufferedDeleteTerms(int maxBufferedDeleteTerms)Determines the minimal number of delete terms required before the buffered in-memory delete terms are applied and flushed.IndexWriterConfigIndexWriterConfig. setMaxBufferedDocs(int maxBufferedDocs)Determines the minimal number of documents required before the buffered in-memory documents are flushed as a new Segment.IndexWriterConfigIndexWriterConfig. setMaxThreadStates(int maxThreadStates)Sets the max number of simultaneous threads that may be indexing documents at once in IndexWriter.IndexWriterConfigIndexWriterConfig. setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer mergeSegmentWarmer)Set the merged segment warmer.IndexWriterConfigIndexWriterConfig. setMergePolicy(MergePolicy mergePolicy)Expert:MergePolicyis invoked whenever there are changes to the segments in the index.IndexWriterConfigIndexWriterConfig. setMergeScheduler(MergeScheduler mergeScheduler)Expert: sets the merge scheduler used by this writer.IndexWriterConfigIndexWriterConfig. setOpenMode(IndexWriterConfig.OpenMode openMode)SpecifiesIndexWriterConfig.OpenModeof the index.IndexWriterConfigIndexWriterConfig. 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.IndexWriterConfigIndexWriterConfig. 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().IndexWriterConfigIndexWriterConfig. 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().IndexWriterConfigIndexWriterConfig. setSimilarity(Similarity similarity)Expert: set theSimilarityimplementation used by this IndexWriter.IndexWriterConfigIndexWriterConfig. setTermIndexInterval(int interval)Expert: set the interval between indexed terms.IndexWriterConfigIndexWriterConfig. 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 anIndexWriterusing 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 voidSpellChecker. 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 IndexWriterConfigLuceneTestCase. newIndexWriterConfig(Random r, Version v, Analyzer a)create a new index writer config with random defaults using the specified randomstatic IndexWriterConfigLuceneTestCase. newIndexWriterConfig(Version v, Analyzer a)create a new index writer config with random defaults
-