org.hibernate.search.annotations

## Annotation Type Indexed

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

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `index`
    `Class<? extends EntityIndexingInterceptor>` | `interceptor` Custom converter to change operations upon indexing Useful for soft deletes and similar patterns

- - ### Element Detail

    - #### index

          public abstract String index

      Returns:
        The filename of the index. Default to empty string
      Default:
        ""

  - - #### interceptor

          public abstract Class<? extends EntityIndexingInterceptor> interceptor

      Custom converter to change operations upon indexing Useful for soft deletes and similar patterns
      Returns:
        the custom `EntityIndexingInterceptor` class. Default to `EntityIndexingInterceptor` class
      Default:
        org.hibernate.search.indexes.interceptor.EntityIndexingInterceptor.class

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved