Annotation Type Indexed
-
@Documented @Target(TYPE) @Retention(RUNTIME) @TypeMapping(processor=@TypeMappingAnnotationProcessorRef(type=org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.IndexedProcessor.class,retrieval=CONSTRUCTOR)) public @interface Indexed
Maps an entity type to an index.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
backend
boolean
enabled
String
index
RoutingBinderRef
routingBinder
-
-
-
Element Detail
-
backend
String backend
- Returns:
- The name of the backend.
Defaults to the
default backend
.
- Default:
- ""
-
-
-
index
String index
- Returns:
- The name of the index. Defaults to the entity name.
- Default:
- ""
-
-
-
routingBinder
RoutingBinderRef routingBinder
- Returns:
- A reference to the routing binder to use to assign a routing bridge to this indexed entity.
- See Also:
RoutingBinderRef
- Default:
- @org.hibernate.search.mapper.pojo.bridge.mapping.annotation.RoutingBinderRef
-
-