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.