Annotation Interface TextIndexed
TextIndexed marks a field to be part of the text index. As there can be only one text index per collection
all fields marked with TextIndexed are combined into one single index. - Since:
- 1.6
- Author:
- Christoph Strobl, Mark Paluch
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionfloatDefines the significance of the filed relative to other indexed fields.
-
Element Details
-
weight
float weightDefines the significance of the filed relative to other indexed fields. The value directly influences the documents score.
Defaulted to 1.0.- Returns:
- Default:
1.0f
-