Package | Description |
---|---|
org.apache.lucene.benchmark.byTask.tasks |
Extendable benchmark tasks.
|
org.apache.lucene.facet.taxonomy.directory |
Taxonomy index implementation using on top of a Directory.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.replicator |
Files replication framework
|
org.apache.lucene.search.spell |
Suggest alternate spellings for words.
|
org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
static IndexWriterConfig |
CreateIndexTask.createWriterConfig(Config config,
PerfRunData runData,
IndexWriterConfig.OpenMode mode,
IndexCommit commit) |
Modifier and Type | Method and Description |
---|---|
protected IndexWriterConfig |
DirectoryTaxonomyWriter.createIndexWriterConfig(IndexWriterConfig.OpenMode openMode)
Create the
IndexWriterConfig that would be used for opening the internal index writer. |
Modifier and Type | Method and Description |
---|---|
protected IndexWriter |
DirectoryTaxonomyWriter.openIndexWriter(Directory directory,
IndexWriterConfig config)
Open internal index writer, which contains the taxonomy data.
|
Modifier and Type | Method and Description |
---|---|
IndexWriterConfig |
IndexWriterConfig.setCheckPendingFlushUpdate(boolean checkPendingFlushOnUpdate) |
IndexWriterConfig |
IndexWriterConfig.setCodec(Codec codec)
Set the
Codec . |
IndexWriterConfig |
IndexWriterConfig.setCommitOnClose(boolean commitOnClose)
Sets if calls
IndexWriter.close() should first commit
before closing. |
IndexWriterConfig |
IndexWriterConfig.setIndexCommit(IndexCommit commit)
Expert: allows to open a certain commit point.
|
IndexWriterConfig |
IndexWriterConfig.setIndexCreatedVersionMajor(int indexCreatedVersionMajor)
Expert: set the compatibility version to use for this index.
|
IndexWriterConfig |
IndexWriterConfig.setIndexDeletionPolicy(IndexDeletionPolicy delPolicy)
Expert: allows an optional
IndexDeletionPolicy implementation to be
specified. |
IndexWriterConfig |
IndexWriterConfig.setIndexSort(Sort sort)
Set the
Sort order to use for all (flushed and merged) segments. |
IndexWriterConfig |
IndexWriterConfig.setInfoStream(InfoStream infoStream)
Information about merges, deletes and a
message when maxFieldLength is reached will be printed
to this.
|
IndexWriterConfig |
IndexWriterConfig.setInfoStream(java.io.PrintStream printStream)
Convenience method that uses
PrintStreamInfoStream . |
IndexWriterConfig |
IndexWriterConfig.setMaxBufferedDocs(int maxBufferedDocs) |
IndexWriterConfig |
IndexWriterConfig.setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer mergeSegmentWarmer) |
IndexWriterConfig |
IndexWriterConfig.setMergePolicy(MergePolicy mergePolicy) |
IndexWriterConfig |
IndexWriterConfig.setMergeScheduler(MergeScheduler mergeScheduler)
Expert: sets the merge scheduler used by this writer.
|
IndexWriterConfig |
IndexWriterConfig.setOpenMode(IndexWriterConfig.OpenMode openMode)
Specifies
IndexWriterConfig.OpenMode of the index. |
IndexWriterConfig |
IndexWriterConfig.setRAMBufferSizeMB(double ramBufferSizeMB) |
IndexWriterConfig |
IndexWriterConfig.setRAMPerThreadHardLimitMB(int perThreadHardLimitMB)
Expert: Sets the maximum memory consumption per thread triggering a forced
flush if exceeded.
|
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 calling
DirectoryReader.open(IndexWriter) . |
IndexWriterConfig |
IndexWriterConfig.setSimilarity(Similarity similarity)
Expert: set the
Similarity implementation used by this IndexWriter. |
IndexWriterConfig |
IndexWriterConfig.setSoftDeletesField(java.lang.String softDeletesField)
Sets the soft deletes field.
|
IndexWriterConfig |
IndexWriterConfig.setUseCompoundFile(boolean useCompoundFile) |
Modifier and Type | Method and Description |
---|---|
static IndexWriter |
RandomIndexWriter.mockIndexWriter(Directory dir,
IndexWriterConfig conf,
java.util.Random r)
Returns an indexwriter that randomly mixes up thread scheduling (by yielding at test points)
|
static IndexWriter |
RandomIndexWriter.mockIndexWriter(java.util.Random r,
Directory dir,
IndexWriterConfig conf,
RandomIndexWriter.TestPoint testPoint)
Returns an indexwriter that enables the specified test point
|
Constructor and Description |
---|
IndexUpgrader(Directory dir,
IndexWriterConfig iwc,
boolean deletePriorCommits)
Creates index upgrader on the given directory, using an
IndexWriter using the given
config. |
IndexWriter(Directory d,
IndexWriterConfig conf)
Constructs a new IndexWriter per the settings given in
conf . |
PKIndexSplitter(Directory input,
Directory dir1,
Directory dir2,
Query docsInFirstIndex,
IndexWriterConfig config1,
IndexWriterConfig config2) |
PKIndexSplitter(Directory input,
Directory dir1,
Directory dir2,
Term midTerm,
IndexWriterConfig config1,
IndexWriterConfig config2) |
RandomIndexWriter(java.util.Random r,
Directory dir,
IndexWriterConfig c)
create a RandomIndexWriter with the provided config
|
RandomIndexWriter(java.util.Random r,
Directory dir,
IndexWriterConfig c,
boolean useSoftDeletes)
create a RandomIndexWriter with the provided config
|
Modifier and Type | Method and Description |
---|---|
protected IndexWriterConfig |
IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter.createIndexWriterConfig(IndexWriterConfig.OpenMode openMode) |
Modifier and Type | Method and Description |
---|---|
protected IndexWriter |
IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter.openIndexWriter(Directory directory,
IndexWriterConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
SpellChecker.indexDictionary(Dictionary dict,
IndexWriterConfig config,
boolean fullMerge)
Indexes the data from the given
Dictionary . |
Modifier and Type | Method and Description |
---|---|
protected IndexWriterConfig |
AnalyzingInfixSuggester.getIndexWriterConfig(Analyzer indexAnalyzer,
IndexWriterConfig.OpenMode openMode)
Override this to customize index settings, e.g.
|
Modifier and Type | Method and Description |
---|---|
static IndexWriterConfig |
LuceneTestCase.newIndexWriterConfig()
create a new index writer config with random defaults
|
static IndexWriterConfig |
LuceneTestCase.newIndexWriterConfig(Analyzer a)
create a new index writer config with random defaults
|
static IndexWriterConfig |
LuceneTestCase.newIndexWriterConfig(java.util.Random r,
Analyzer a)
create a new index writer config with random defaults using the specified random
|
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.