Skip to content

[Backport 9.1] Fixing a few missing task types and alphabetizing the PUT request #5079

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

Closed
wants to merge 80 commits into from

Conversation

jonathan-buttner
Copy link
Contributor

Backport of #5075

github-actions bot and others added 30 commits June 27, 2025 11:33
* compiler: validate types found only in exceptions

* split indices.get_alias for clarity, handle NotFoundAliases with previous comit

* making the compiler linter happy again

* align generics expansion between rust and typescript

* compiler: propagate generics in case someone want to have a generic exception

* once again, making the linter happy

(cherry picked from commit 1c2d7f3)

Co-authored-by: Laurent Saint-Félix <[email protected]>
* index create fixes

* Update specification/_types/analysis/token_filters.ts



* addressing review

* persian stem add

* add comment

* revert making locale optional just for validation

---------


(cherry picked from commit 92bd777)

Co-authored-by: Laura Trotta <[email protected]>
Co-authored-by: Quentin Pradet <[email protected]>
* fix node info res

* Update specification/nodes/info/types.ts



* address review

---------


(cherry picked from commit 36e78a1)

Co-authored-by: Laura Trotta <[email protected]>
Co-authored-by: Quentin Pradet <[email protected]>
(cherry picked from commit 26ed911)

Co-authored-by: Lisa Cawley <[email protected]>
(cherry picked from commit fd09485)

Co-authored-by: Laura Trotta <[email protected]>
* update specification for recent_search_load

* fix typo

(cherry picked from commit 9fc8173)

Co-authored-by: Dimitris Rempapis <[email protected]>
(cherry picked from commit 7c4997b)

Co-authored-by: Tim Grein <[email protected]>
Co-authored-by: Quentin Pradet <[email protected]>
Co-authored-by: Laura Trotta <[email protected]>
* Adds cat node -h enumerated values

* Update specification/cat/recovery/CatRecoveryRequest.ts



* Update specification/cat/recovery/CatRecoveryRequest.ts



* Update specification/cat/segments/CatSegmentsRequest.ts



* Update specification/cat/segments/CatSegmentsRequest.ts



---------


(cherry picked from commit 7b834b0)

Co-authored-by: kosabogi <[email protected]>
Co-authored-by: Quentin Pradet <[email protected]>
* [ML] Add DeepSeek

Create put request types, objects, and examples for DeepSeek.
Verified with `make validate api=inference.put`.

* Update specification/inference/_types/CommonTypes.ts



* Remove example alternatives; remove duplicate task type enum

---------


(cherry picked from commit f190eec)

Co-authored-by: Pat Whelan <[email protected]>
Co-authored-by: Quentin Pradet <[email protected]>
* Adds external link to Update a document API and removes request examples

* Restore UpdateRequest example YAML files 2–11

---------


(cherry picked from commit 1a02bf3)

Co-authored-by: kosabogi <[email protected]>
Co-authored-by: Quentin Pradet <[email protected]>
* Adds external link to the Synonyms API

* Formatting fix

* Code style fix

(cherry picked from commit 644201b)

Co-authored-by: kosabogi <[email protected]>
* Add link and missing content to update by query

* Update specification/_global/update_by_query/UpdateByQueryRequest.ts


(cherry picked from commit 30931cb)

Co-authored-by: Charlotte Hoblik <[email protected]>
Co-authored-by: Liam Thompson <[email protected]>
* add cat shards -h values

* add cat thead_pool -h values
* Add index block removal API

Follow-up of elastic/elasticsearch#129128

* Fix block enum

* Add doc-id to table

* Fix lint

* Move IndicesBlockOptions and IndicesBlockStatus to indices/_types

It's breaking but avoids duplicating the type names, which is forbidden.

* Separate BlockStatus as it is different

* Rename response example file

* Fix response fields

* Add index privilege

---------


(cherry picked from commit e668a98)

Co-authored-by: Niels Bauman <[email protected]>
Co-authored-by: Quentin Pradet <[email protected]>
(cherry picked from commit c99d8ac)

Co-authored-by: Miguel Grinberg <[email protected]>
…4761) (#4791)

* add sparse vector index options to specification

# Conflicts:
#	output/schema/schema.json

* move TokenPruningConfig to base _types level

(cherry picked from commit 0c77ae9)

# Conflicts:
#	output/schema/schema.json
#	specification/_types/mapping/core.ts
* Output validation comments even without changes

Otherwise, a PR that breaks validation but then restores it will keep a comment
saying that validation is broken.

* Adjust output

* Try fixing branch name

* Stop trying to display the target branch

(cherry picked from commit bbd5dcf)

Co-authored-by: Quentin Pradet <[email protected]>
(cherry picked from commit d1d4932)

Co-authored-by: Quentin Pradet <[email protected]>
(cherry picked from commit b8eac9d)

Co-authored-by: Quentin Pradet <[email protected]>
(cherry picked from commit 1fc197e)

# Conflicts:
#	output/schema/validation-errors.json
(cherry picked from commit f7c9703)

# Conflicts:
#	output/schema/validation-errors.json
(cherry picked from commit 1540fd0)

Co-authored-by: Lisa Cawley <[email protected]>
github-actions bot and others added 22 commits July 18, 2025 11:27
(cherry picked from commit 722e4cf)

Co-authored-by: Laura Trotta <[email protected]>
* Fix indices.delete_api response

* specific ack response for indices delete alias

---------


(cherry picked from commit 4926284)

Co-authored-by: Quentin Pradet <[email protected]>
Co-authored-by: Laura Trotta <[email protected]>
…#4979)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-version: 0.3.3
  dependency-type: indirect
...



(cherry picked from commit 92bb3ad)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit c7bfb98)

# Conflicts:
#	output/schema/validation-errors.json
* Adds custom inference service docs.

* Adds response documentation.

* Adds request params docs.

* Fixes code style.

* Fixes data type.

* Adds json_spec.

* Fixes typo.

* Adds doc_id to the table.csv file.

* Makes it prettier.

* Adds examples.

* Format fix.

* Addresses feedback.

* Adds more parameters and explanations.

* Completes json_parser.

* Addresses feedback.

* Format fix.

* Addresses more feedback.

(cherry picked from commit af6a0b3)

Co-authored-by: István Zoltán Szabó <[email protected]>
(cherry picked from commit c98011f)

Co-authored-by: István Zoltán Szabó <[email protected]>
(cherry picked from commit 80b7017)

Co-authored-by: Laura Trotta <[email protected]>
It does not bring value.

(cherry picked from commit cf6914e)

Co-authored-by: Quentin Pradet <[email protected]>
* Add info about version number for serverless


(cherry picked from commit a81526b)

Co-authored-by: Charlotte Hoblik <[email protected]>
Co-authored-by: Liam Thompson <[email protected]>
Create put request types, objects, and examples for SageMaker.
Verified with `make validate api=inference.put`.

(cherry picked from commit eee68f2)
Spec docs update for the ESQL `format` parameter. Text formats result in missing metadata in the response body.

Main docs change: elastic/docs-content#2307

(cherry picked from commit a04b872)

Co-authored-by: Iván Cea Fontenla <[email protected]>
(cherry picked from commit ccb9111)

Co-authored-by: Laura Trotta <[email protected]>
* Use strings instead of integer ids for simulate examples

These examples were being rendered with the `_id` as an integer, however, that is invalid and we only allow strings for integers.

* Change " -> ' because... reasons?

(cherry picked from commit 36c4828)

Co-authored-by: Lee Hinman <[email protected]>
(cherry picked from commit a7876a8)

Co-authored-by: kosabogi <[email protected]>
…e APIs (#4841) (#5006)

* Adds new chunking strategies

* Adds external link

* Adds a sentence to point to the link

* Resolves merge conflict

* Update specification/inference/_types/Services.ts



---------


(cherry picked from commit ba5cf21)

Co-authored-by: kosabogi <[email protected]>
Co-authored-by: Liam Thompson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants