Package dev.morphia.annotations
Annotation Type Text
-
@Documented @Inherited @Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Text
Marks this field for inclusion in text indexing. There can only be on instance of this field on a class/collection due to the server limiting one text index per collection.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description IndexOptions
options
int
value
-
-
-
Element Detail
-
options
IndexOptions options
- Returns:
- Options to apply to the index
- Default:
- @dev.morphia.annotations.IndexOptions
-
-