Interface DocumentRoute
-
public interface DocumentRoute
A route for an indexed document, i.e. the object used by aRoutingBridge
to define where an entity should be indexed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
routingKey(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
.
-
-