[docs] Docs for reindex using ingest pipeline
This commit is contained in:
parent
4d6cb34417
commit
22557621fe
|
@ -268,7 +268,7 @@ POST /_reindex
|
||||||
"company": "cat"
|
"company": "cat"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
"index": {
|
"index": {
|
||||||
"index": "dest",
|
"index": "dest",
|
||||||
"routing": "=cat"
|
"routing": "=cat"
|
||||||
|
@ -277,6 +277,23 @@ POST /_reindex
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
// AUTOSENSE
|
// 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]
|
[float]
|
||||||
=== URL Parameters
|
=== URL Parameters
|
||||||
|
|
|
@ -138,6 +138,15 @@ POST /twitter/_update_by_query?scroll_size=1000
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
// AUTOSENSE
|
// 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]
|
[float]
|
||||||
=== URL Parameters
|
=== URL Parameters
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue