diff --git a/_field-types/supported-field-types/text.md b/_field-types/supported-field-types/text.md index b06bec2187..26ac30f1df 100644 --- a/_field-types/supported-field-types/text.md +++ b/_field-types/supported-field-types/text.md @@ -122,12 +122,12 @@ GET testindex/_search { "query": { "match": { - "text": "date of birth" + "dob": "date of birth" } }, "highlight": { "fields": { - "text": {} + "dob": {} } } } @@ -170,4 +170,4 @@ The words "date of birth" are highlighted in the response: ] } } -``` \ No newline at end of file +```