[docs] Docs for reindex using ingest pipeline

This commit is contained in:
Nik Everett 2016-03-03 11:26:26 -05:00
parent 4d6cb34417
commit 22557621fe
2 changed files with 27 additions and 1 deletions

View File

@ -268,7 +268,7 @@ POST /_reindex
"company": "cat"
}
}
}
},
"index": {
"index": "dest",
"routing": "=cat"
@ -277,6 +277,23 @@ POST /_reindex
--------------------------------------------------
// AUTOSENSE
Reindex can also use the link:ingest.html[Ingest] feature by specifying a
`pipeline` like this:
[source,js]
--------------------------------------------------
POST /_reindex
{
"source": {
"index": "source"
},
"index": {
"index": "dest",
"pipeline": "some_ingest_pipeline"
}
}
--------------------------------------------------
// AUTOSENSE
[float]
=== URL Parameters

View File

@ -138,6 +138,15 @@ POST /twitter/_update_by_query?scroll_size=1000
--------------------------------------------------
// AUTOSENSE
`_update_by_query` can also use the link:ingest.html[Ingest] feature by
specifying a `pipeline` like this:
[source,js]
--------------------------------------------------
POST /twitter/_update_by_query?pipeline=some_ingest_pipeline
--------------------------------------------------
// AUTOSENSE
[float]
=== URL Parameters