public class ConfiguredSearchIndexerOptionsBean extends Object implements ConfiguredSearchIndexerOptions
ConfiguredSearchIndexerOptions as
simple java bean.| Modifier and Type | Field and Description |
|---|---|
private String |
nonUtfEncoding |
private boolean |
optimize |
private boolean |
overwriteEntries |
private List<String> |
sourceIds |
| Constructor and Description |
|---|
ConfiguredSearchIndexerOptionsBean()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNonUtfEncoding()
This method gets the non-UTF encoding.
|
List<String> |
getSourceIds()
This method gets the optional
List of
source-IDs that
shall be (re-)indexed. |
boolean |
isOptimize()
This method determines if the search-index will be
optimized
after indexing. |
boolean |
isOverwriteEntries()
|
boolean |
isOverwriteIndex()
This method determines if a potentially existing indexer shall be
overwritten.
|
void |
setNonUtfEncoding(String nonUtfEncoding) |
void |
setOptimize(boolean optimize)
This method sets the
optimize-flag. |
void |
setOverwriteEntries(boolean overwriteEntries)
This method sets the
overwriteEntries-flag. |
void |
setSourceIds(List<String> sourceIds)
This method sets the
source-IDs. |
private boolean overwriteEntries
isOverwriteEntries()private boolean optimize
isOptimize()private List<String> sourceIds
getSourceIds()private String nonUtfEncoding
getNonUtfEncoding()public ConfiguredSearchIndexerOptionsBean()
public boolean isOptimize()
optimized
after indexing.isOptimize in interface ConfiguredSearchIndexerOptionstrue if the search-index will be optimized,
false otherwise.public void setOptimize(boolean optimize)
optimize-flag.optimize - is the optimize-flag to set.public boolean isOverwriteEntries()
entries for the
sources to index shall be deleted from the
search-index and (re-)indexed from scratch. If source-IDs are NOT set (null), this is the same as
SearchIndexerOptions.isOverwriteIndex().isOverwriteEntries in interface ConfiguredSearchIndexerOptionstrue if existing
entries shall be
overwritten, false if existing
entries shall remain (and
will be updated incremental).public void setOverwriteEntries(boolean overwriteEntries)
overwriteEntries-flag. overwriteEntries - is the overwriteEntries-flag to set.public boolean isOverwriteIndex()
isOverwriteIndex in interface SearchIndexerOptionstrue if the index shall be overwritten,
false if an existing index shall remain (and can be
updated incremental).public List<String> getSourceIds()
List of
source-IDs that
shall be (re-)indexed. If the List is NOT null
(default) all sources will be indexed, otherwise
sources
configured but NOT contained in this List will NOT be indexed.getSourceIds in interface ConfiguredSearchIndexerOptionsList of
source-IDs or null to index all sources.public void setSourceIds(List<String> sourceIds)
source-IDs.sourceIds - is the source-IDs to set.public String getNonUtfEncoding()
getNonUtfEncoding in interface ConfiguredSearchIndexerOptionsSearchIndexerConfiguration.getNonUtfEncoding()public void setNonUtfEncoding(String nonUtfEncoding)
nonUtfEncoding - is the nonUtfEncoding to setCopyright © 2001–2016 mmm-Team. All rights reserved.