Interface DocumentRoutes

  • public interface DocumentRoutes
    The object passed to a RoutingBridge to define where an entity should be indexed.
    • Method Detail

      • addRoute

        DocumentRoute addRoute()
        Add a route that indexing operations for this entity should take, based on its current state.

        At the moment, only one current route can be added per indexed entity.

        A new route, to be defined in more details.
      • notIndexed

        void notIndexed()
        Instructs Hibernate Search that the entity should not be indexed.

        Calling this method will lead to the route being ignored.