org.hibernate.search.annotations
Annotation Type Indexed


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface Indexed


Optional Element Summary
 String index
           
 Class<? extends EntityIndexingInterceptor> interceptor
          Custom converter to change operations upon indexing Useful for soft deletes and similar patterns
 

index

public abstract String index
Returns:
The filename of the index
Default:
""

interceptor

public abstract Class<? extends EntityIndexingInterceptor> interceptor
Custom converter to change operations upon indexing Useful for soft deletes and similar patterns

Experimental
: This feature is experimental
Default:
org.hibernate.search.indexes.interceptor.DefaultEntityInterceptor.class


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved