Package dev.morphia.annotations
Annotation Interface Indexed
Specified on fields that should be Indexed.
- Author:
- Scott Hernandez
-
Optional Element Summary
Optional Elements
-
Element Details
-
options
IndexOptions options- Returns:
- Options to apply to the index. Use of this field will ignore any of the deprecated options defined on
Index
directly.
- Default:
- @dev.morphia.annotations.IndexOptions
-
value
IndexDirection value- Returns:
- the type of the index (ascending, descending, geo2d); default is ascending
- See Also:
- Default:
- ASC
-