From 1e6e9081af0bee996e35ec3c3e565053a1f0b7b2 Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Mon, 15 Oct 2018 18:09:12 -0500 Subject: [PATCH 1/4] ingest: document index.default_pipeline --- docs/reference/index-modules.asciidoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/reference/index-modules.asciidoc b/docs/reference/index-modules.asciidoc index 81bc96bb8f92e..06c6ae899681b 100644 --- a/docs/reference/index-modules.asciidoc +++ b/docs/reference/index-modules.asciidoc @@ -234,6 +234,11 @@ specific index module: The length of time that a <> remains available for <>. Defaults to `60s`. + `index.default_pipeline`:: + + The default <> pipeline for this index. Index requests will fail + if the default pipeline is set and the pipeline does not exist. + [float] === Settings in other index modules From 66f033cdc5450aef5113d841fa3f9074fb3f90a1 Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Thu, 18 Oct 2018 10:52:05 -0500 Subject: [PATCH 2/4] add mention of default pipeline --- docs/reference/ingest.asciidoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/reference/ingest.asciidoc b/docs/reference/ingest.asciidoc index 772013534b63b..6fa2e8c796df6 100644 --- a/docs/reference/ingest.asciidoc +++ b/docs/reference/ingest.asciidoc @@ -35,6 +35,9 @@ PUT my-index/_doc/my-id?pipeline=my_pipeline_id // CONSOLE // TEST[catch:bad_request] +An index may also declare a <> that will be used in the +absence of the `pipeline` parameter. + See <> for more information about creating, adding, and deleting pipelines. -- From db78d6febc38ff5a34768a2908d1e168f3539285 Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Fri, 19 Oct 2018 11:52:01 -0500 Subject: [PATCH 3/4] update text to include pipeline=_none --- docs/reference/index-modules.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/index-modules.asciidoc b/docs/reference/index-modules.asciidoc index 06c6ae899681b..a36e92c30f169 100644 --- a/docs/reference/index-modules.asciidoc +++ b/docs/reference/index-modules.asciidoc @@ -237,7 +237,8 @@ specific index module: `index.default_pipeline`:: The default <> pipeline for this index. Index requests will fail - if the default pipeline is set and the pipeline does not exist. + if the default pipeline is set and the pipeline does not exist. The default may be + ignored per request by setting the request parameter `pipeline=_none`. [float] === Settings in other index modules From da815007fee19963f4755417f8e619470e129425 Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Tue, 23 Oct 2018 11:14:44 -0500 Subject: [PATCH 4/4] update override text per review comment --- docs/reference/index-modules.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/index-modules.asciidoc b/docs/reference/index-modules.asciidoc index a36e92c30f169..1442f0e3e558e 100644 --- a/docs/reference/index-modules.asciidoc +++ b/docs/reference/index-modules.asciidoc @@ -238,7 +238,8 @@ specific index module: The default <> pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist. The default may be - ignored per request by setting the request parameter `pipeline=_none`. + overridden using the `pipeline` parameter. The special pipeline name `_none` indicates + no ingest pipeline should be run. [float] === Settings in other index modules