OpenSearch/modules
Stuart Tettemer 41c15b438d
Scripting: Add char position of script errors (#51069) (#51266)
Add the character position of a scripting error to error responses.

The contents of the `position` field are experimental and subject to
change.  Currently, `offset` refers to the character location where the
error was encountered, `start` and `end` define a range of characters
that contain the error.

eg.
```
{
  "error": {
    "root_cause": [
      {
        "type": "script_exception",
        "reason": "runtime error",
        "script_stack": [
          "y = x;",
          "     ^---- HERE"
        ],
        "script": "def x = new ArrayList(); Map y = x;",
        "lang": "painless",
        "position": {
          "offset": 33,
          "start": 29,
          "end": 35
        }
      }
```

Refs: #50993
2020-01-21 13:45:59 -07:00
..
aggs-matrix-stats Declare remaining parsers `final` (#50571) (#50615) 2020-01-03 11:48:11 -05:00
analysis-common Fix caching for PreConfiguredTokenFilter (#50912) (#51091) 2020-01-16 13:58:02 +01:00
ingest-common Backport: Add pipeline name to ingest metadata (#51050) 2020-01-16 10:50:47 +01:00
ingest-geoip Allow list of IPs in geoip ingest processor (#49573) (#49947) 2019-12-07 00:19:09 +01:00
ingest-user-agent update ingest-user-agent regexes.yml (#47807) 2019-10-18 16:26:48 +02:00
lang-expression Upgrade to Lucene 8.4.0. (#50518) (#50750) 2020-01-08 18:53:59 +01:00
lang-mustache Add "did you mean" to unknown queries (#51177) (#51254) 2020-01-21 12:45:52 -05:00
lang-painless Scripting: Add char position of script errors (#51069) (#51266) 2020-01-21 13:45:59 -07:00
mapper-extras Add per-field metadata. (#50333) 2020-01-08 16:21:18 +01:00
parent-join Fix NPE bug inner_hits (#50709) 2020-01-07 14:21:54 -05:00
percolator Correctly handle MSM for nested disjunctions (#50669) 2020-01-07 09:32:30 +00:00
rank-eval Add "did you mean" to ObjectParser (#50938) (#50985) 2020-01-14 17:53:41 -05:00
reindex Use Void context on parsers where possible (#50573) (#50617) 2020-01-03 13:28:55 -05:00
repository-url Remove Unused Single Delete in BlobStoreRepository (#50024) (#50123) 2019-12-12 11:17:46 +01:00
systemd Extend systemd timeout during startup (#49784) 2019-12-03 14:25:45 -05:00
transport-netty4 Stop Allocating Buffers in CopyBytesSocketChannel (#49825) (#49832) 2019-12-04 19:36:52 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00