-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Painless: Improve Documentation #23777
Comments
Wanted to give an update on this: @debadair has done some significant editing on the intro and constants, variables, and types sections. And she's come up with this as a possible model for the re-vamped documentation moving forward:
I am about 3/4 of the way through the operators section and plan to be done this week after which I'll hand it off for editing and move onto Control Flow. I'm thinking that we an edit what already exists into the quick start guide and possibly post the lang spec with the initial 5 sections -- intro, constants variables and types, operators, control flow, and structure. This will help get some better docs out sooner, and then move forward from there. |
Added the working progress to a branch here: https://github.com/jdconrad/elasticsearch/blob/painless-docs/docs/reference/modules/scripting/painless-lang-spec.asciidoc\ Important: This does not contain the editing that Deb has done yet! It's very raw still. |
See https://www.elastic.co/guide/en/elasticsearch/painless/current/index.html for this work in progress |
Update: No real progress as script contexts have taken priority. @talevy has kindly volunteered to help with some of the script context example documentation when he has a bit of time. |
Update: Currently working on re-structuring and cleaning up some of the existing documentation. Control flow documentation soon to follow. |
PR to rework the structure and clean up comments, keywords, and literals. (#29441) |
PR to add identifiers and improve existing docs for variables. (#29592) |
PR for types clean up in the spec. (#30283) |
PR for casting clean up in the spec. (#30283) |
PR for operator restructure plus some clean up (#31013). |
Notes following clean up:
|
Current branches for changes:
I will turn each of these into a PR as each prior PR is committed. |
Note - is type value too verbose? Consider changing X type value to X type, X value, X variable, and X field where X is the specific type such as reference, numeric, int, String, etc. |
PR for operator restructure/clean up is committed (#31013) to both 7 and 6.4. |
PR for context information (#31190). |
Context information has been committed. |
Begun to add context examples (#32302). |
[docs issue triage] |
Context documentation migrated to #49865 |
Closing in favor of newer issues. |
Painless documentation plan --
Quick Start - Use existing documentation to create quick start guide
Lang Spec - General lang spec for Painless
Examples - Show code for Painless
Bindings - Explain each available variable for the binding (context)
The text was updated successfully, but these errors were encountered: