OpenSearch/modules/lang-painless
Ryan Ernst f32692208e
Add explanations to script score queries (#46693) (#47548)
While function scores using scripts do allow explanations, they are only
creatable with an expert plugin. This commit improves the situation for
the newer script score query by adding the ability to set the
explanation from the script itself.

To set the explanation, a user would check for `explanation != null` to
indicate an explanation is needed, and then call
`explanation.set("some description")`.
2019-10-03 21:05:05 -07:00
..
licenses Upgrade Painless from ANTLR 4.5.1-1 to ANTLR 4.5.3. (#27153) 2017-10-27 11:07:49 -07:00
spi Add annotations to Painless whitelist (#43239) 2019-06-24 09:27:24 -07:00
src Add explanations to script score queries (#46693) (#47548) 2019-10-03 21:05:05 -07:00
build.gradle transport.publish_address should contain CNAME (#45626) 2019-08-16 17:42:00 +02:00