Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docs example for Ingest scripts manipulating document metadata #24875

Merged
merged 1 commit into from May 25, 2017

Conversation

talevy
Copy link
Contributor

@talevy talevy commented May 24, 2017

It may not be clear to users that the Ingest ScriptProcessor context object ctx can
manipulate document metadata like _index and _type.

This PR adds such an example

@talevy talevy added :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >docs General docs changes v6.0.0 review labels May 24, 2017
@talevy talevy merged commit dfe2eca into elastic:master May 25, 2017
@talevy talevy deleted the ingest-docs-script-metadata branch May 25, 2017 14:45
@talevy talevy removed the review label May 25, 2017
jasontedor added a commit to mashudong/elasticsearch that referenced this pull request May 28, 2017
* master: (38 commits)
  Fix Lucene version expectation
  Verify Lucene version constants
  Avoid double decrement on current query counter
  Remove the need for _UNRELEASED suffix in versions (elastic#24798)
  Adjust available and free bytes to be non-negative on huge FSes
  Begin replacing static index tests with full restart tests (elastic#24846)
  Fix plugin docs for using custom config dir
  Update context-suggest.asciidoc
  Move BWC version to 5.5 after backport
  Support Multiple Collapse Inner Hits
  Scripting: Rename CompiledType to FactoryType in ScriptContext (elastic#24897)
  Scripting: Make contexts available to ScriptEngine construction (elastic#24896)
  Mute index and relocate concurrently
  Build: Add back explicit exclusions and remove gradle exclusions (elastic#24879)
  Scripting: Move context definitions to instance type classes (elastic#24883)
  Build: Fix hadoop integ test error on windows (elastic#24885)
  Put mapping and index template requests do not need content type detection for 5.3.0+ (elastic#24835)
  Add the ability to store objects with a ScrollContext (elastic#24777)
  add docs example for Ingest scripts manipulating document metadata (elastic#24875)
  Fix error message if an incompatible node connects (elastic#24884)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >docs General docs changes v6.0.0-alpha2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants