Package dev.morphia.annotations
Annotation Type IndexOptions
-
@Documented @Inherited @Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface IndexOptions
Defines the options to be used when declaring an index.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
background
Collation
collation
boolean
disableValidation
boolean
dropDups
Deprecated.Support for this has been removed from the server.int
expireAfterSeconds
java.lang.String
language
java.lang.String
languageOverride
java.lang.String
name
java.lang.String
partialFilter
boolean
sparse
boolean
unique
-
-
-
-
collation
Collation collation
- Returns:
- the collation to be used for this index
- Since:
- 1.3
- Default:
- @dev.morphia.annotations.Collation(locale="")
-
-