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.
|
Modifier and Type | Method and Description |
---|---|
static IndexWriter |
CreateIndexTask.configureWriter(Config config,
PerfRunData runData,
IndexWriterConfig.OpenMode mode,
IndexCommit commit) |
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. |
Constructor and Description |
---|
DirectoryTaxonomyWriter(Directory directory,
IndexWriterConfig.OpenMode openMode)
Creates a new instance with a default cached as defined by
DirectoryTaxonomyWriter.defaultTaxonomyWriterCache() . |
DirectoryTaxonomyWriter(Directory directory,
IndexWriterConfig.OpenMode openMode,
TaxonomyWriterCache cache)
Construct a Taxonomy writer.
|
Modifier and Type | Method and Description |
---|---|
IndexWriterConfig.OpenMode |
IndexWriterConfig.getOpenMode()
Returns the
IndexWriterConfig.OpenMode set by IndexWriterConfig.setOpenMode(OpenMode) . |
static IndexWriterConfig.OpenMode |
IndexWriterConfig.OpenMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexWriterConfig.OpenMode[] |
IndexWriterConfig.OpenMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
IndexWriterConfig |
IndexWriterConfig.setOpenMode(IndexWriterConfig.OpenMode openMode)
Specifies
IndexWriterConfig.OpenMode of the index. |
Constructor and Description |
---|
PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary,
Directory dir,
IndexWriterConfig.OpenMode mode,
Version matchVersion)
PersistentSnapshotDeletionPolicy wraps another
IndexDeletionPolicy to enable flexible snapshotting. |