-
Notifications
You must be signed in to change notification settings - Fork 154
Closed
elastic/elasticsearch
#134119Labels
Team:DeveloperIssues owned by the Developer Docs TeamIssues owned by the Developer Docs Teamsource:webIssues originating from the elastic.co docsIssues originating from the elastic.co docs
Description
Type of issue
Inaccurate
What documentation page is affected
https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/semantic-text
What happened?
POST test-index/_search
{
"query": {
"match": {
"my_semantic_field": "Which country is Paris in?"
},
"fields": [
"_inference_fields"
]
}
}
The above code snippet on the link is not correct. The correct format should be:
POST test-index/_search
{
"query": {
"match": {
"my_semantic_field": "Which country is Paris in?"
}
},
"fields": [
"_inference_fields"
]
}
Additional info

Metadata
Metadata
Assignees
Labels
Team:DeveloperIssues owned by the Developer Docs TeamIssues owned by the Developer Docs Teamsource:webIssues originating from the elastic.co docsIssues originating from the elastic.co docs