|
NAMESearch::Elasticsearch::Client::8_0::Direct::Simulate - Executes ingest pipelines against a set of provided VERSIONversion 8.12 DESCRIPTIONThe full documentation for Simulate ingest API is available here: <https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-ingest-api.html> FOLLOW METHODSfollow() my $response = $es->simulate->ingest(
'index' => 'test',
'body' => {
'docs' => [
{
'_id' => '123',
'_source' => {
'foo': 'bar'
}
},
{
'_id' => '456',
'_source' => {
'foo': 'baz'
}
},
]
}
);
AUTHOREnrico Zimuel <enrico.zimuel@elastic.co> COPYRIGHT AND LICENSEThis software is Copyright (c) 2024 by Elasticsearch BV. This is free software, licensed under: The Apache License, Version 2.0, January 2004
|