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

ingest: support default pipelines + bulk upserts #36618

Merged

Commits on Dec 13, 2018

  1. ingest: support default pipelines + bulk upserts

    This commit adds support to enable bulk upserts to use an index's
    default pipeline. Bulk upsert, doc_as_upsert, and script_as_upsert
    are all supported.
    
    However, bulk script_as_upsert has slightly surprising behavior since
    the pipeline is executed _before_ the script is evaluated. This means
    that the pipeline only has access the data found in the upsert field
    of the script_as_upsert. The non-bulk script_as_upsert (existing behavior)
    runs the pipeline _after_ the script is executed. This commit
    does _not_ attempt to consolidate the bulk and non-bulk behavior for
    script_as_upsert.
    
    This commit also adds additional testing for the non-bulk behavior,
    which remains unchanged with this commit.
    
    fixes elastic#36219
    jakelandis committed Dec 13, 2018
    Configuration menu
    Copy the full SHA
    6cd4b4a View commit details
    Browse the repository at this point in the history
  2. added missing test

    jakelandis committed Dec 13, 2018
    Configuration menu
    Copy the full SHA
    f9fd800 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2018

  1. Configuration menu
    Copy the full SHA
    5884b64 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2018

  1. Configuration menu
    Copy the full SHA
    d5a637e View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2018

  1. review: nits

    jakelandis committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    4bf560a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8801e00 View commit details
    Browse the repository at this point in the history