All Products
Search
Document Center

OpenSearch:Built-in field types in OpeanSearch Retrieval Engine Edition

Last Updated:Apr 01, 2026

OpenSearch Retrieval Engine Edition supports 18 built-in field types. The sections below group them by category and describe what each type stores, its format, and which index types it supports.

Text types

TypeDescriptionMulti-valueForward indexSummary indexInverted index
TEXTStores text data. Requires an analyzer configured in the schema.NoNoYesYes
STRINGStores strings.YesYesYesYes
TEXT fields must have an analyzer configured in the schema.

Numeric types

TypeDescriptionMulti-valueForward indexSummary indexInverted index
INT88-bit signed integerYesYesYesYes
UINT88-bit unsigned integerYesYesYesYes
INT1616-bit signed integerYesYesYesYes
UINT1616-bit unsigned integerYesYesYesYes
INTEGER32-bit signed integerYesYesYesYes
UINT3232-bit unsigned integerYesYesYesYes
INT6464-bit signed integerYesYesYesYes
UINT6464-bit unsigned integerYesYesYesYes
FLOATSingle-precision 32-bit floating pointYesYesYesNo
DOUBLEDouble-precision 64-bit floating pointYesYesYesNo
FLOAT and DOUBLE do not support inverted indexes.

Geographic types

TypeDescriptionMulti-valueForward indexSummary indexInverted index
LOCATIONA single point defined by longitude and latitude.YesYesYesYes
LINEA polyline defined by an ordered sequence of points. The first value is the number of points.YesYesYesYes
POLYGONA polygon defined by one or more polylines. Each polyline starts with its point count.YesYesYesYes

Value formats

LOCATIONlocation={Longitude} {Latitude}

location=116 40

LINEline=location,location,...^]

line=116 40,117 41,118 42 ^]

POLYGONpolygon=location1,location2,...location1^]

Date and time types

TypeDescriptionFormatMulti-valueForward indexSummary indexInverted index
DATEA calendar date.year-month-dayNoNoYesYes
TIMEA time of day. Milliseconds are optional.hour:minute:second[.milliseconds]NoNoYesYes
TIMESTAMPA combined date and time with an optional time zone offset. Defaults to UTC.{DATE} {TIME} [TIMEZONE]NoNoYesYes

Value formats

DATE

2020-08-19

TIME — milliseconds are optional.

12:00:00
11:40:00.234

TIMESTAMP — the time zone offset is optional. The default time zone is Coordinated Universal Time (UTC) and is configurable.

2020-08-19 11:40:00.234
2020-08-19 11:40:00.234+0800