Class MatchOnlyTextProperty

java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.MatchOnlyTextProperty
All Implemented Interfaces:
PropertyVariant, JsonpSerializable

@JsonpDeserializable public class MatchOnlyTextProperty extends Object implements PropertyVariant, JsonpSerializable
A variant of text that trades scoring and efficiency of positional queries for space efficiency. This field effectively stores data the same way as a text field that only indexes documents (index_options: docs) and disables norms (norms: false). Term queries perform as fast if not faster as on text fields, however queries that need positions such as the match_phrase query perform slower as they need to look at the _source document to verify whether a phrase matches. All queries return constant scores that are equal to 1.0.
See Also: