Link Search Menu Expand Document Documentation Menu

You're viewing version 2.15 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

String field types

String field types contain text values or values derived from text. The following table lists all string field types that OpenSearch supports.

Field data type Description
keyword A string that is not analyzed. Useful for exact-value search.
text A string that is analyzed. Useful for full-text search.
match_only_text A space-optimized version of a text field.
token_count Counts the number of tokens in a string.
constant_keyword Similar to keyword but uses a single value for all documents.
wildcard A variation of keyword with efficient substring and regular expression matching.
350 characters left

Have a question? .

Want to contribute? or .