Skip to content

Commit

Permalink
Fix RRF example for semantic query (elastic#109516)
Browse files Browse the repository at this point in the history
Follow up to elastic#109433, fix
appropriately this time the semantic query example with RRF.
  • Loading branch information
carlosdelest authored Jun 10, 2024
1 parent 8b759a1 commit 4d3f9f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/reference/query-dsl/semantic-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ GET my-index/_search
},
{
"standard": {
"semantic": {
"field": "semantic_field",
"query": "shoes"
"query": {
"semantic": {
"field": "semantic_field",
"query": "shoes"
}
}
}
}
Expand Down

0 comments on commit 4d3f9f2

Please sign in to comment.