-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Adds "Querying semantic_text fields" section #136076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
f126b9b
6cfaf35
50a5e24
64446ef
67d9f5c
11089a7
38a79de
a8435b6
1cdabcb
30b9341
f525152
964aec6
206a3cd
b718123
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -611,6 +611,21 @@ PUT test-index | |
} | ||
``` | ||
|
||
## Querying `semantic_text` fields [querying-semantic-text-fields] | ||
|
||
Querying `semantic_text` fields enables semantic search by matching on meaning rather than just keywords. It’s useful for natural language search, intent-aware retrieval, and cases where keyword matching alone isn’t sufficient. | ||
|
||
You can query `semantic_text` fields using the following query types: | ||
|
||
- [Match query](/reference/query-languages/query-dsl/query-dsl-match-query.md) - The recommended method for querying `semantic_text` fields. Refer to examples of match queries on `semantic_text` fields. | ||
kosabogi marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
- [kNN query](/reference/query-languages/query-dsl/query-dsl-knn-query.md) - Finds the nearest vectors to a query vector using a similarity metric, mainly for advanced or combined search use cases. Refer to examples of kNN queries on `semantic_text` fields. | ||
|
||
- [Sparse vector query](/reference/query-languages/query-dsl/query-dsl-sparse-vector-query.md) - Executes searches using sparse vectors generated by a sparse retrieval model. Refer to examples of sparse vector queries on `semantic_text` fields. | ||
|
||
- [Semantic query](/reference/query-languages/query-dsl/query-dsl-semantic-query.md) - A legacy option that was introduced earlier and is no longer recommended, but it remains supported for existing implementations. Refer to examples of semantic queries on `semantic_text` fields. | ||
|
||
|
||
|
||
## Troubleshooting semantic_text fields [troubleshooting-semantic-text-fields] | ||
|
||
If you want to verify that your embeddings look correct, you can view the | ||
|
Uh oh!
There was an error while loading. Please reload this page.