-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Document Semantic Text CCS Support #135798
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
Open
Mikep86
wants to merge
6
commits into
elastic:main
Choose a base branch
from
Mikep86:semantic-search_update-ccs-docs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+28
−2
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
05f702f
Update semantic text documentation
Mikep86 ff09f8c
Fix cross-cluster search anchor links
Mikep86 6a6d699
Merge branch 'main' into semantic-search_update-ccs-docs
Mikep86 6b83530
Update semantic text docs based on PR feedback
Mikep86 ba3af10
Added CCS limitation to ES|QL page
Mikep86 ad2e3f6
Added link to CCS
Mikep86 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -633,6 +633,27 @@ POST test-index/_search | |
This will return verbose chunked embeddings content that is used to perform | ||
semantic search for `semantic_text` fields. | ||
|
||
## Cross-cluster search (CCS) [ccs] | ||
```{applies_to} | ||
stack: ga 9.2 | ||
serverless: unavailable | ||
``` | ||
|
||
`semantic_text` supports [Cross-Cluster Search (CCS)](docs-content://solutions/search/cross-cluster-search.md) through the [`_search` endpoint](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search) | ||
when [`ccs_minimize_roundtrips`](docs-content://solutions/search/cross-cluster-search.md#ccs-network-delays) is set to `true`. | ||
This is the default value for `ccs_minimize_roundtrips`, so most CCS queries should work automatically: | ||
|
||
```console | ||
POST local-index,remote-cluster:remote-index/_search | ||
{ | ||
"query": { | ||
"match": { | ||
"my_semantic_field": "Which country is Paris in?" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
## Limitations [limitations] | ||
|
||
`semantic_text` field types have the following limitations: | ||
|
@@ -641,5 +662,6 @@ semantic search for `semantic_text` fields. | |
of [nested fields](/reference/elasticsearch/mapping-reference/nested.md). | ||
* `semantic_text` fields can’t currently be set as part | ||
of [dynamic templates](docs-content://manage-data/data-store/mapping/dynamic-templates.md). | ||
* `semantic_text` fields are not supported with Cross-Cluster Search (CCS) or | ||
Cross-Cluster Replication (CCR). | ||
* `semantic_text` fields do not support [Cross-Cluster Search (CCS)](docs-content://solutions/search/cross-cluster-search.md) when [`ccs_minimize_roundtrips`](docs-content://solutions/search/cross-cluster-search.md#ccs-network-delays) is set to `false`. | ||
* `semantic_text` fields do not support [Cross-Cluster Search (CCS)](docs-content://solutions/search/cross-cluster-search.md) in [ES|QL](/reference/query-languages/esql.md). | ||
* `semantic_text` fields do not support Cross-Cluster Replication (CCR). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Link to CCR doc? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.