Package | Description |
---|---|
org.apache.lucene.benchmark.byTask.tasks |
Extendable benchmark tasks.
|
org.apache.lucene.facet.taxonomy.directory |
Taxonomy implemented using a Lucene-Index
|
org.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.
|
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 |
IndexWriter.getConfig()
Returns the private
IndexWriterConfig , cloned
from the IndexWriterConfig passed to
IndexWriter.IndexWriter(Directory, IndexWriterConfig) . |
IndexWriterConfig |
IndexWriterConfig.setIndexCommit(IndexCommit commit)
Expert: allows to open a certain commit point.
|
IndexWriterConfig |
IndexWriterConfig.setIndexDeletionPolicy(IndexDeletionPolicy delPolicy)
Expert: allows an optional
IndexDeletionPolicy 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)
Specifies
IndexWriterConfig.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 calling
IndexWriter.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 in
IndexWriter.getReader() . |
IndexWriterConfig |
IndexWriterConfig.setSimilarity(Similarity similarity)
Expert: set the
Similarity 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.
|
Constructor and Description |
---|
IndexUpgrader(Directory dir,
IndexWriterConfig iwc,
PrintStream infoStream,
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,
Filter docsInFirstIndex,
IndexWriterConfig config1,
IndexWriterConfig config2) |
PKIndexSplitter(Directory input,
Directory dir1,
Directory dir2,
Term midTerm,
IndexWriterConfig config1,
IndexWriterConfig config2) |
RandomIndexWriter(Random r,
Directory dir,
IndexWriterConfig c)
create a RandomIndexWriter with the provided 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 |
---|---|
static IndexWriterConfig |
LuceneTestCase.newIndexWriterConfig(Random r,
Version v,
Analyzer a)
create a new index writer config with random defaults using the specified random
|
static IndexWriterConfig |
LuceneTestCase.newIndexWriterConfig(Version v,
Analyzer a)
create a new index writer config with random defaults
|