public class DefaultConfiguration extends Object implements Configuration
Constructor and Description |
---|
DefaultConfiguration(org.apache.lucene.store.Directory directory,
org.apache.lucene.analysis.Analyzer analyzer) |
DefaultConfiguration(org.apache.lucene.store.Directory directory,
org.apache.lucene.analysis.Analyzer analyzer,
IndexWriterConfiguration writerConfiguration) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.Analyzer |
getAnalyzer() |
org.apache.lucene.store.Directory |
getDirectory() |
IndexWriterConfiguration.WriterSettings |
getWriterSettings(Index.UpdateMode mode) |
public DefaultConfiguration(@Nonnull org.apache.lucene.store.Directory directory, @Nonnull org.apache.lucene.analysis.Analyzer analyzer)
public DefaultConfiguration(@Nonnull org.apache.lucene.store.Directory directory, @Nonnull org.apache.lucene.analysis.Analyzer analyzer, @Nonnull IndexWriterConfiguration writerConfiguration)
@Nonnull public org.apache.lucene.store.Directory getDirectory()
getDirectory
in interface Configuration
@Nonnull public org.apache.lucene.analysis.Analyzer getAnalyzer()
getAnalyzer
in interface Configuration
@Nonnull public IndexWriterConfiguration.WriterSettings getWriterSettings(Index.UpdateMode mode)
getWriterSettings
in interface Configuration
Copyright © 2002-2019 Atlassian. All Rights Reserved.