Annotation Interface MongoTextIndexed
@Retention(RUNTIME)
@Target({FIELD,METHOD,ANNOTATION_TYPE})
@Documented
@Inherited
public @interface MongoTextIndexed
Declares a simple MongoDB text index for a property.
- Since:
- 5.0.0
- Author:
- radovanradic
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanintint
-
Element Details
-
name
-
weight
int weight- Returns:
- The text index weight.
- Default:
1
-
comment
-
storageEngine
-
defaultLanguage
-
languageOverride
String languageOverride- Returns:
- The document field that overrides language for text processing.
- Default:
""
-
textIndexVersion
int textIndexVersion- Returns:
- The text index version, or -1 if unset.
- Default:
-1
-