OpenSearch/docs/reference
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
..
aggregations [7.x] Adds support for geo-bounds filtering in geogrid aggregations (#50996) 2020-01-14 11:18:46 -08:00
analysis [DOCS] Add tutorials section to analysis topic (#50809) 2020-01-16 13:12:06 -05:00
autoscaling Initial autoscaling commit (#51161) 2020-01-17 15:31:12 -05:00
cat [Docs] Fix short alias for 'unassigned.for' (#51059) 2020-01-16 12:10:30 +01:00
ccr Remove outdated requirement of CCR (#50859) 2020-01-13 20:00:23 -05:00
cluster [DOCS] Collapse node stats response sections (#51063) 2020-01-16 13:19:29 -05:00
commands Remove custom metadata tool (#50813) 2020-01-14 23:08:33 +01:00
docs [DOCS] Fixes "enables you to" typos (#50225) 2019-12-23 14:39:14 -05:00
graph
high-availability [DOCS] Move snapshot-restore out of modules. (#49618) (#50829) 2020-01-09 16:55:46 -08:00
how-to [DOCS] Remove unneeded redirects (#50476) 2019-12-26 08:29:28 -05:00
ilm Add blurb about ILM-injected unfollow action (#51009) 2020-01-15 09:46:57 -07:00
images [DOCS] Replace cross-cluster search PNG images with SVGs (#49395) 2019-11-21 09:06:33 -05:00
index-modules [DOCS] Fix indent issue in similarity snippet (#51107) 2020-01-16 11:00:15 -05:00
indices Deprecate synced flush (#50835) 2020-01-13 19:54:38 -05:00
ingest [DOCS] Fixes indentation in inference processor code snippet (#51252) 2020-01-21 16:22:16 +01:00
licensing [DOCS] Update license expiry links (#50812) 2020-01-09 11:28:43 -08:00
mapping [DOCS] Correct typo in `ignore_malformed` mapping parm docs (#50780) 2020-01-13 09:49:53 -05:00
migration Deprecate and remove camel-case nGram and edgeNGram tokenizers (#50862) (#50991) 2020-01-14 21:42:34 +01:00
ml [DOCS] Adds text about data types to the categorization docs (#51145) 2020-01-17 10:00:20 -08:00
modules [DOCS] Expands the documentation of Node Query Cache (#51105) 2020-01-20 11:13:29 +01:00
monitoring [DOCS] Removes duplicate title 2020-01-17 09:49:42 -08:00
query-dsl [7.x] Adds support for geo-bounds filtering in geogrid aggregations (#50996) 2020-01-14 11:18:46 -08:00
release-notes [DOCS] Adds ML PRs to release notes (#51234) 2020-01-20 11:08:23 -08:00
rest-api Introduce hidden indices (#51164) 2020-01-17 10:09:01 -07:00
rollup [DOCS] Merge rollup config details into API (#49412) 2019-11-22 08:39:49 -08:00
scripting Scripting: Add char position of script errors (#51069) (#51266) 2020-01-21 13:45:59 -07:00
search [Docs] Small edits to Ranking Evaluation API docs (#51116) 2020-01-20 10:30:23 +01:00
settings Disable DiagnosticTrustManager in FIPS 140 (#49888) 2020-01-13 17:04:23 +02:00
setup [DOCS] Adds elasticsearch-keystore command reference (#50872) 2020-01-13 13:08:21 -08:00
snapshot-restore [DOCS] Move snapshot-restore out of modules. (#49618) (#50829) 2020-01-09 16:55:46 -08:00
sql SQL: add support for passing query parameters in REST API calls (#51029) (#51222) 2020-01-20 16:40:19 +02:00
testing
transform [DOCS] Removes CCS limitation item from Transforms limitations. (#51151) 2020-01-20 09:44:11 +01:00
upgrade Deprecate synced flush (#50835) 2020-01-13 19:54:38 -05:00
vectors Remove the 'experimental' marking from vector fields. (#49120) 2019-11-18 12:42:46 -08:00
aggregations.asciidoc
analysis.asciidoc [DOCS] Add tutorials section to analysis topic (#50809) 2020-01-16 13:12:06 -05:00
api-conventions.asciidoc
cat.asciidoc [DOCS] Use `s` parameter in cat API overview example (#50616) 2020-01-14 08:22:07 -05:00
cluster.asciidoc [DOCS] Adds machine learning node type and filters (#49121) 2019-11-15 08:31:59 -08:00
data-rollup-transform.asciidoc
docs.asciidoc
frozen-indices.asciidoc
getting-started.asciidoc [Docs] Fix typo in getting-started.asciidoc (#49985) 2019-12-09 16:24:30 +01:00
glossary.asciidoc [DOCS] Move snapshot-restore out of modules. (#49618) (#50829) 2020-01-09 16:55:46 -08:00
gs-index.asciidoc
high-availability.asciidoc
how-to.asciidoc
index-modules.asciidoc Introduce hidden indices (#51164) 2020-01-17 10:09:01 -07:00
index.asciidoc Exclude autoscaling docs from release docs (#51190) 2020-01-20 10:52:47 -05:00
index.x.asciidoc
indices.asciidoc
ingest.asciidoc Replace required pipeline with final pipeline (#49470) 2019-11-22 14:37:36 -05:00
intro.asciidoc [7.x][DOCS] Updates ML links (#50387) (#50409) 2019-12-20 10:01:19 -08:00
mapping.asciidoc
modules.asciidoc [DOCS] Move snapshot-restore out of modules. (#49618) (#50829) 2020-01-09 16:55:46 -08:00
query-dsl.asciidoc
redirects.asciidoc [DOCS] Move snapshot-restore out of modules. (#49618) (#50829) 2020-01-09 16:55:46 -08:00
release-notes.asciidoc [DOCS] Adds placeholder for 7.5.2 release notes (#51124) 2020-01-16 14:42:24 -05:00
scripting.asciidoc
search.asciidoc
setup.asciidoc [DOCS] Creates a cluster restart documentation page (#48583) 2019-11-12 14:50:53 +01:00
testing.asciidoc
upgrade.asciidoc