Interface DocumentRoutes
-
public interface DocumentRoutesThe object passed to aRoutingBridgeto define where an entity should be indexed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentRouteaddRoute()Add a route that indexing operations for this entity should take, based on its current state.voidnotIndexed()Instructs Hibernate Search that the entity should not 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.
- Returns:
- 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
routebeing ignored.
-
-