public interface SolrIndexUpdateCommandHandler
AbstractSolrIndexUpdateServiceImpl, which provides serialization of the commands.| Modifier and Type | Method and Description |
|---|---|
org.apache.solr.common.SolrInputDocument |
buildDocument(Indexable indexable)
Provides an interface for a caller to convert an
Indexable into a SolrInputDocument. |
org.apache.solr.common.SolrInputDocument |
buildDocument(Indexable indexable,
List<IndexField> fields,
List<Locale> locales)
Provides an interface for a caller to convert an
Indexable into a SolrInputDocument. |
<C extends SolrUpdateCommand> |
executeCommand(C command)
Entry point from which this component can delegate action based on the type of
SolrUpdateCommand. |
String |
getBackgroundCollectionName()
The background or "offline" collection (index) name or alias.
|
String |
getCommandGroup()
Command group or identifier for which this component can respond.
|
String |
getForegroundCollectionName()
The "live" or customer facing collection (index) name or alias.
|
<C extends SolrUpdateCommand> void executeCommand(C command) throws ServiceException
SolrUpdateCommand.
This should never be called directly. Rather it will be called from inside the AbstractSolrIndexUpdateServiceImpl.command - ServiceExceptionString getCommandGroup()
String getForegroundCollectionName()
String getBackgroundCollectionName()
org.apache.solr.common.SolrInputDocument buildDocument(Indexable indexable)
Indexable into a SolrInputDocument. This may return null if the implementor does not want
the specified Indexable indexed.indexable - org.apache.solr.common.SolrInputDocument buildDocument(Indexable indexable, List<IndexField> fields, List<Locale> locales)
Indexable into a SolrInputDocument. This may return null if the implementor does not want
the specified Indexable indexed.indexable - fields - locales - Copyright © 2023. All rights reserved.