This version of the OpenSearch documentation 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 typeDescription
keywordA string that is not analyzed. Useful for exact-value search.
textA string that is analyzed. Useful for full-text search.
token_countCounts the number of tokens in a string.