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 Elements
float
Defines the significance of the filed relative to other indexed fields.
-
Element Details
-
weight
float weight
Defines 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