public abstract class IndexerPlugin extends Object
Indexer
implementation,
to allow Escenic modules (plug-ins) to require additional fields to be indexed.IndexerPluginSpi
Modifier | Constructor and Description |
---|---|
protected |
IndexerPlugin(IndexerPluginSpi pProvider)
Creates an
IndexerPlugin . |
Modifier and Type | Method and Description |
---|---|
abstract Map<String,Value> |
getAdditionalIndexedFields(Article pArticle)
Returns a mapping between the names of additional fields the indexer should index, and their values.
|
IndexerPluginSpi |
getProvider()
Returns the provider that instantiated this plug-in.
|
String |
toString() |
protected IndexerPlugin(IndexerPluginSpi pProvider)
IndexerPlugin
.pProvider
- the provider that instantiated this plug-in.public final IndexerPluginSpi getProvider()
public abstract Map<String,Value> getAdditionalIndexedFields(Article pArticle)
null
pArticle
- the content object about to be indexed.© 1998- 2018 Stibo DX