Interface DocumentRoute
-
public interface DocumentRouteA route for an indexed document, i.e. the object used by aRoutingBridgeto define where an entity should be indexed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidroutingKey(String routingKey)Sets the routing key, i.e.
-
-
-
Method Detail
-
routingKey
void routingKey(String routingKey)
Sets the routing key, i.e. the key used to select the correct shard in the targeted index.- Parameters:
routingKey- The routing key. Nevernull.
-
-