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 IndexedEmbedded

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

Optional Element Summary
`int` | `depth` Stop indexing embedded elements when depth is reached depth=1 means the associated element is index, but not its embedded elements Default: infinite (an exception will be raised if a class circular reference occurs while infinite is chosen)
`java.lang.String` | `prefix` Field name prefix Default to 'propertyname.'
`java.lang.Class<?>` | `targetElement` Overrides the type of an association.

### prefix

    public abstract java.lang.String prefix

  Field name prefix Default to 'propertyname.'

  Default:
    "."

### depth

    public abstract int depth

  Stop indexing embedded elements when depth is reached depth=1 means the associated element is index, but not its embedded elements Default: infinite (an exception will be raised if a class circular reference occurs while infinite is chosen)

  Default:
    2147483647

### targetElement

    public abstract java.lang.Class<?> targetElement

  Overrides the type of an association. If a collection, overrides the type of the collection generics

  Default:
    void.class

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

Copyright © 2006-2010 Hibernate. All Rights Reserved.