Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT