Skip to content

Commit 5561ac9

Browse files
authored
Merge branch 'main' into random-sampling-cluster-changed
2 parents f1f8d34 + 23e7d53 commit 5561ac9

File tree

113 files changed

+1127
-1407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+1127
-1407
lines changed

docs/changelog/135701.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 135701
2+
summary: Add Google Model Garden's Meta, Mistral, Hugging Face and Ai21 providers support to Inference Plugin
3+
area: Machine Learning
4+
type: enhancement
5+
issues: []

docs/changelog/136060.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 136060
2+
summary: Limit number of allocation explanations in `shards_availability` health indicator
3+
area: Health
4+
type: bug
5+
issues: []

docs/reference/elasticsearch/mapping-reference/semantic-text.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,27 @@ POST test-index/_search
658658
This will return verbose chunked embeddings content that is used to perform
659659
semantic search for `semantic_text` fields.
660660

661+
## Cross-cluster search (CCS) [ccs]
662+
```{applies_to}
663+
stack: ga 9.2
664+
serverless: unavailable
665+
```
666+
667+
`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)
668+
when [`ccs_minimize_roundtrips`](docs-content://solutions/search/cross-cluster-search.md#ccs-network-delays) is set to `true`.
669+
This is the default value for `ccs_minimize_roundtrips`, so most CCS queries should work automatically:
670+
671+
```console
672+
POST local-index,remote-cluster:remote-index/_search
673+
{
674+
"query": {
675+
"match": {
676+
"my_semantic_field": "Which country is Paris in?"
677+
}
678+
}
679+
}
680+
```
681+
661682
## Limitations [limitations]
662683

663684
`semantic_text` field types have the following limitations:
@@ -666,5 +687,6 @@ semantic search for `semantic_text` fields.
666687
of [nested fields](/reference/elasticsearch/mapping-reference/nested.md).
667688
* `semantic_text` fields can’t currently be set as part
668689
of [dynamic templates](docs-content://manage-data/data-store/mapping/dynamic-templates.md).
669-
* `semantic_text` fields are not supported with Cross-Cluster Search (CCS) or
670-
Cross-Cluster Replication (CCR).
690+
* `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`.
691+
* `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).
692+
* `semantic_text` fields do not support [Cross-Cluster Replication (CCR)](docs-content://deploy-manage/tools/cross-cluster-replication.md).

docs/reference/query-languages/esql/limitations.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ Also, [`INLINE STATS`](/reference/query-languages/esql/commands/inlinestats-by.m
260260
* CSV export from Discover shows no more than 10,000 rows. This limit only applies to the number of rows that are retrieved by the query and displayed in Discover. Queries and aggregations run on the full data set.
261261
* Querying many indices at once without any filters can cause an error in kibana which looks like `[esql] > Unexpected error from Elasticsearch: The content length (536885793) is bigger than the maximum allowed string (536870888)`. The response from {{esql}} is too long. Use [`DROP`](/reference/query-languages/esql/commands/drop.md) or [`KEEP`](/reference/query-languages/esql/commands/keep.md) to limit the number of fields returned.
262262

263+
## Cross-cluster search limitations [esql-ccs-limitations]
264+
265+
{{esql}} does not support [Cross-Cluster Search (CCS)](docs-content://solutions/search/cross-cluster-search.md) on [`semantic_text` fields](/reference/elasticsearch/mapping-reference/semantic-text.md).
266+
263267
## Known issues [esql-known-issues]
264268

265269
Refer to [Known issues](/release-notes/known-issues.md) for a list of known issues for {{esql}}.

muted-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,9 +627,6 @@ tests:
627627
- class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeForkIT
628628
method: test {csv-spec:string.SpaceNegative}
629629
issue: https://github.com/elastic/elasticsearch/issues/136249
630-
- class: org.elasticsearch.cluster.coordination.NodeJoiningIT
631-
method: testNodeTriesToJoinClusterAndThenSameMasterIsElected
632-
issue: https://github.com/elastic/elasticsearch/issues/136332
633630
- class: org.elasticsearch.xpack.restart.FullClusterRestartIT
634631
method: testDataStreams {cluster=UPGRADED}
635632
issue: https://github.com/elastic/elasticsearch/issues/136353
@@ -663,6 +660,9 @@ tests:
663660
- class: org.elasticsearch.test.rest.yaml.CcsCommonYamlTestSuiteIT
664661
method: test {p0=search.vectors/220_dense_vector_node_index_stats/index node stats non-quantized}
665662
issue: https://github.com/elastic/elasticsearch/issues/136403
663+
- class: org.elasticsearch.TransportVersionTests
664+
method: testVersionComparison
665+
issue: https://github.com/elastic/elasticsearch/issues/136410
666666

667667
# Examples:
668668
#

rest-api-spec/src/main/resources/rest-api-spec/api/_internal.update_desired_nodes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"description": "the history id"
2828
},
2929
"version": {
30-
"type": "integer",
30+
"type": "int",
3131
"description": "the version number"
3232
}
3333
}

rest-api-spec/src/main/resources/rest-api-spec/api/async_search.submit.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"default": "5d"
5454
},
5555
"batched_reduce_size": {
56-
"type": "number",
56+
"type": "long",
5757
"description": "The number of shard results that should be reduced at once on the coordinating node. This value should be used as the granularity at which progress results will be made available.",
5858
"default": 5
5959
},
@@ -101,7 +101,7 @@
101101
"description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit"
102102
},
103103
"from": {
104-
"type": "number",
104+
"type": "int",
105105
"description": "Starting offset (default: 0)"
106106
},
107107
"ignore_unavailable": {
@@ -162,7 +162,7 @@
162162
"description": "Search operation type"
163163
},
164164
"size": {
165-
"type": "number",
165+
"type": "int",
166166
"description": "Number of hits to return (default: 10)"
167167
},
168168
"sort": {
@@ -182,7 +182,7 @@
182182
"description": "A list of fields to extract and return from the _source field"
183183
},
184184
"terminate_after": {
185-
"type": "number",
185+
"type": "long",
186186
"description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early."
187187
},
188188
"stats": {
@@ -204,7 +204,7 @@
204204
"description": "Specify suggest mode"
205205
},
206206
"suggest_size": {
207-
"type": "number",
207+
"type": "long",
208208
"description": "How many suggestions to return in response"
209209
},
210210
"suggest_text": {
@@ -241,7 +241,7 @@
241241
"description": "Specify whether to return sequence number and primary term of the last modification of each hit"
242242
},
243243
"max_concurrent_shard_requests": {
244-
"type": "number",
244+
"type": "int",
245245
"description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests",
246246
"default": 5
247247
}

rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"description": "Specifies the name of the index that you would like an explanation for"
3232
},
3333
"shard": {
34-
"type": "number",
34+
"type": "int",
3535
"description": "Specifies the ID of the shard that you would like an explanation for"
3636
},
3737
"primary": {

rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"description": "Return settings in flat format (default: false)"
8888
},
8989
"wait_for_metadata_version": {
90-
"type": "number",
90+
"type": "long",
9191
"description": "Wait for the metadata version to be equal or greater than the specified metadata version"
9292
},
9393
"wait_for_timeout": {

rest-api-spec/src/main/resources/rest-api-spec/api/count.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
6868
},
6969
"min_score": {
70-
"type": "number",
70+
"type": "double",
7171
"description": "Include only documents with a specific `_score` value in the result"
7272
},
7373
"preference": {
@@ -114,7 +114,7 @@
114114
"description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored"
115115
},
116116
"terminate_after": {
117-
"type": "number",
117+
"type": "long",
118118
"description": "The maximum count for each shard, upon reaching which the query execution will terminate early"
119119
}
120120
},

0 commit comments

Comments
 (0)