Package org.apache.solr.update.processor
Class RoutedAliasUpdateProcessor
java.lang.Object
org.apache.solr.update.processor.UpdateRequestProcessor
org.apache.solr.update.processor.RoutedAliasUpdateProcessor
- All Implemented Interfaces:
Closeable,AutoCloseable
Distributes update requests to a series of collections partitioned by a "routing" field. Issues
requests to create new collections on-demand.
Depends on this core having a special core property that points to the alias name that this collection is a part of. And further requires certain properties on the Alias. Collections pointed to by the alias must be named for the alias plus underscored ('_') and a routing specifier specific to the type of routed alias. These collections should not be created by the user, but are created automatically by the routed alias.
- Since:
- 7.2.0 (formerly known as TimeRoutedAliasUpdateProcessor)
-
Field Summary
FieldsFields inherited from class org.apache.solr.update.processor.UpdateRequestProcessor
next -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoClose()Override to implement resource release logic that *must* be called at the end of a request.voidfinish()voidvoidvoidstatic UpdateRequestProcessorwrap(SolrQueryRequest req, UpdateRequestProcessor next) Methods inherited from class org.apache.solr.update.processor.UpdateRequestProcessor
close, processMergeIndexes, processRollback
-
Field Details
-
CACHE_FOR_MILLIS
public static final int CACHE_FOR_MILLIS- See Also:
-
-
Method Details
-
wrap
-
processAdd
- Overrides:
processAddin classUpdateRequestProcessor- Throws:
IOException
-
processDelete
- Overrides:
processDeletein classUpdateRequestProcessor- Throws:
IOException
-
processCommit
- Overrides:
processCommitin classUpdateRequestProcessor- Throws:
IOException
-
finish
- Overrides:
finishin classUpdateRequestProcessor- Throws:
IOException
-
doClose
protected void doClose()Description copied from class:UpdateRequestProcessorOverride to implement resource release logic that *must* be called at the end of a request.- Overrides:
doClosein classUpdateRequestProcessor
-