Interface DocumentRoute


  • public interface DocumentRoute
    A route for an indexed document, i.e. the object used by a RoutingBridge to define where an entity should be indexed.
    • 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. Never null.