OpenSearch/docs/reference/migration
Martijn van Groningen 245882cde3 * Removed `script.default_lang` setting and made `painless` the hardcoded default script language.
** The default script language is now maintained in `Script` class.
* Added `script.legacy.default_lang` setting that controls the default language for scripts that are stored inside documents (for example percolator queries).  This defaults to groovy.
** Added `QueryParseContext#getDefaultScriptLanguage()` that manages the default scripting language. Returns always `painless`, unless loading query/search request in legacy mode then the returns what is configured in `script.legacy.default_lang` setting.
** In the aggregation parsing code added `ParserContext` that also holds the default scripting language like `QueryParseContext`. Most parser don't have access to `QueryParseContext`. This is for scripts in aggregations.
* The `lang` script field is always serialized (toXContent).

Closes #20122
2016-09-06 18:44:48 +02:00
..
migrate_5_0 * Removed `script.default_lang` setting and made `painless` the hardcoded default script language. 2016-09-06 18:44:48 +02:00
index.asciidoc Docs: Added note about upgrading from 1.x to 5.x 2016-03-14 09:58:46 +01:00
migrate_5_0.asciidoc Reword expect header bug notice 2016-08-10 10:42:58 -04:00