Annotation Interface EnableIndexing


@Target(TYPE) @Retention(RUNTIME) @Inherited @Documented public @interface EnableIndexing
The EnableIndexing annotation marks a Spring @Configuration annotated application class to enable the creation of GemFire/Geode Indexes and LuceneIndexes based on application persistent entity field/property annotations, such as the {@link @Id}, {@link @Indexed} and {@link @LuceneIndex} annotations.
Since:
1.9.0
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Determines whether all GemFire/Geode Indexes will be defined before created.
  • Element Details

    • define

      boolean define
      Determines whether all GemFire/Geode Indexes will be defined before created. If set to true, then all Indexes are defined first and the created in a single, bulk operation, thereby improving Index creation process efficiency. Only applies to OQL-based Indexes. LuceneIndexes are managed differently by GemFire/Geode. Defaults to false.
      Default:
      false