public interface SearchIndexerConfiguration extends SearchConfiguration
SearchIndexer. DEFAULT_CONFIGURATION_URL| Modifier and Type | Method and Description |
|---|---|
String |
getNonUtfEncoding()
If you are indexing
locations that
contain textual content with different encodings you can enable automatic
unicode detection by omitting the
SearchIndexerDataLocation.getEncoding(). |
SearchIndexerSource |
getSource(String id)
This method gets the
SearchSource with the given ID. |
Collection<? extends SearchIndexerSource> |
getSources()
This method gets the
Collection of sources. |
getFields, getProperties, getSearchIndexCollection<? extends SearchIndexerSource> getSources()
Collection of sources.getSources in interface SearchConfigurationSearchSources.SearchIndexerSource getSource(String id)
SearchSource with the given ID.getSource in interface SearchConfigurationid - is the ID of the requested SearchSource.SearchSource or null if none is configured for the given
id.String getNonUtfEncoding()
locations that
contain textual content with different encodings you can enable automatic
unicode detection by omitting the
SearchIndexerDataLocation.getEncoding(). In this case if a file has
an unspecified encoding, unicode encodings will be detected automatically.
Otherwise this non unicode decoding is used as fallback. If not explicitly
set, EncodingUtil.ENCODING_ISO_8859_15 is
used.Copyright © 2001–2016 mmm-Team. All rights reserved.