Interface DocumentRoutes
-
public interface DocumentRoutes
The object passed to aRoutingBridge
to define where an entity should be indexed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentRoute
addRoute()
Add a route that indexing operations for this entity should take, based on its current state.void
notIndexed()
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
route
being ignored.
-
-