Skip to content

Commit

Permalink
Update _search query match field in Documentation (#9075) (#9081)
Browse files Browse the repository at this point in the history
  • Loading branch information
opensearch-trigger-bot[bot] authored Jan 17, 2025
1 parent 1962971 commit fdd81da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _field-types/supported-field-types/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ GET testindex/_search
{
"query": {
"match": {
"text": "date of birth"
"dob": "date of birth"
}
},
"highlight": {
"fields": {
"text": {}
"dob": {}
}
}
}
Expand Down Expand Up @@ -170,4 +170,4 @@ The words "date of birth" are highlighted in the response:
]
}
}
```
```

0 comments on commit fdd81da

Please sign in to comment.