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 Summary

    Modifier and Type
    Method
    Description
    void
    routingKey(String routingKey)
    Sets the routing key, i.e.
  • Method Details

    • 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.