@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented public @interface EnableIndexing
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 @Id, @Indexed
and @LuceneIndex annotations.LuceneIndex,
Index,
IndexFactoryBean,
IndexConfiguration,
IndexConfigurer,
LuceneIndexFactoryBean| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
define
Determines whether all GemFire/Geode
Indexes will be defined before created. |
public abstract boolean define
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.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.