@ComponentSpecification public interface SearchIndexerBuilder
SearchIndexer
.Modifier and Type | Method and Description |
---|---|
SearchIndexer |
createIndexer(SearchIndexerConfigurationHolder configurationHolder)
This method opens a new
SearchIndexer . |
SearchIndexer |
createIndexer(SearchIndexerConfigurationHolder configurationHolder,
SearchIndexerOptions options)
This method opens a new
SearchIndexer . |
SearchIndexer |
createIndexer(String dataSource,
SearchIndexerOptions options)
This method opens a new
SearchIndexer . |
SearchIndexer createIndexer(String dataSource, SearchIndexerOptions options) throws SearchException
SearchIndexer
. indexer
should be open at a time (for the same dataSource
).
You have to close
the indexer before calling this method again. update
to false
to avoid loosing valuable data.dataSource
- is a string identifying the data source where the index is persisted. This is typically
the absolute path to the index in the local filesystem.options
- are the SearchIndexerOptions
.SearchException
- if the operation failed.SearchIndexer createIndexer(SearchIndexerConfigurationHolder configurationHolder) throws SearchException
SearchIndexer
. indexer
should be open at a time (for the same
location
). You have to
close
the indexer before calling this method again. configurationHolder
- is the SearchIndexerConfigurationHolder
.SearchException
- if the operation failed.SearchIndexer createIndexer(SearchIndexerConfigurationHolder configurationHolder, SearchIndexerOptions options) throws SearchException
SearchIndexer
. indexer
should be open at a time (for the same
location
). You have to
close
the indexer before calling this method again. configurationHolder
- is the SearchIndexerConfigurationHolder
.options
- are the SearchIndexerOptions
.SearchException
- if the operation failed.Copyright © 2001–2016 mmm-Team. All rights reserved.