org.hibernate.search.annotations
Annotation Type Field


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
@Documented
public @interface Field

Mark a property as indexable

Author:
Emmanuel Bernard

Required Element Summary
 Index index
          Defines how the Field should be indexed
 
Optional Element Summary
 String name
          Field name, default to the JavaBean property name
 Store store
          Should the value be stored in the document
 

Element Detail

index

public abstract Index index
Defines how the Field should be indexed

name

public abstract String name
Field name, default to the JavaBean property name

Default:
""

store

public abstract Store store
Should the value be stored in the document

Default:
NO