Christoph Büscher
1ea9f11b03
Change ScriptException status to 400 (bad request) ( #30861 )
...
Currently failures to compile a script usually lead to a ScriptException, which
inherits the 500 INTERNAL_SERVER_ERROR from ElasticsearchException if it does
not contain another root cause. Instead, this should be a 400 Bad Request error.
This PR changes this more generally for script compilation errors by changing
ScriptException to return 400 (bad request) as status code.
Closes #12315
2018-05-30 14:00:07 +02:00
Jack Conradson
8188d9f7e5
Painless: Only allow Painless type names to be the same as the equivalent Java class. ( #27264 )
...
Also adds a parameter called only_fqn to the whitelist to enforce that a painless type must be specified as the fully-qualifed java class name.
2017-12-11 16:37:35 -08:00
Clinton Gormley
ff4a2519f2
Update experimental labels in the docs ( #25727 )
...
Relates https://github.com/elastic/elasticsearch/issues/19798
Removed experimental label from:
* Painless
* Diversified Sampler Agg
* Sampler Agg
* Significant Terms Agg
* Terms Agg document count error and execution_hint
* Cardinality Agg precision_threshold
* Pipeline Aggregations
* index.shard.check_on_startup
* index.store.type (added warning)
* Preloading data into the file system cache
* foreach ingest processor
* Field caps API
* Profile API
Added experimental label to:
* Moving Average Agg Prediction
Changed experimental to beta for:
* Adjacency matrix agg
* Normalizers
* Tasks API
* Index sorting
Labelled experimental in Lucene:
* ICU plugin custom rules file
* Flatten graph token filter
* Synonym graph token filter
* Word delimiter graph token filter
* Simple pattern tokenizer
* Simple pattern split tokenizer
Replaced experimental label with warning that details may change in the future:
* Analysis explain output format
* Segments verbose output format
* Percentile Agg compression and HDR Histogram
* Percentile Rank Agg HDR Histogram
2017-07-18 14:06:22 +02:00
debadair
5ac2ddd2be
[DOCS] Setting up separate Painless book.
2017-05-16 12:46:56 -07:00