Link Search Menu Expand Document Documentation Menu

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.
350 characters left

Have a question? .

Want to contribute? or .