Skip to content

Painless script API omissions #3612

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
lcawl opened this issue Jan 27, 2025 · 0 comments
Open

Painless script API omissions #3612

lcawl opened this issue Jan 27, 2025 · 0 comments

Comments

@lcawl
Copy link
Contributor

lcawl commented Jan 27, 2025

🐛 Missing type

According to https://www.elastic.co/guide/en/elasticsearch/painless/current/painless-execute-api.html#painless-execute-api-request-body the painless execute API has the following request body properties, which don't currently exist in the specification:

"...params
(Map, read-only) Specifies any named parameters that are passed into the script as variables.

query
(Optional, object)

This parameter only applies when score is specified as the script context.

Use this parameter to specify a query for computing a score. Besides deciding whether or not the document matches, the query clause also calculates a relevance score in the _score metadata field...."

Definition

That page in the documentation will be removed and the descriptions seem insufficient to update the specification without further details so I am opening this issue so it can be followed up on later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant