Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,22 +110,22 @@ After the data has been indexed with the embeddings, you can query the data usin
:::{tab-item} Query DSL
:sync: dsl

The Query DSL approach uses the `semantic` query type with the `semantic_text` field:
The Query DSL approach uses the [`match` query](elasticsearch://reference/query-languages/query-dsl/query-dsl-match-query.md) type with the `semantic_text` field:

```esql
GET semantic-embeddings/_search
{
"query": {
"semantic": {
"field": "content", <1>
"query": "What causes muscle soreness after running?" <2>
"match": {
"content": {
"query": "What causes muscle soreness after running?" <1>
}
}
}
}
```

1. The `semantic_text` field on which you want to perform the search.
2. The query text.
1. The query text.
:::

:::{tab-item} ES|QL
Expand Down
Loading