Class SimulatePipelineDescriptor
Descriptor for SimulatePipeline
https://opensearch.org/docs/latest/api-reference/ingest-apis/simulate-ingest/
Inheritance
SimulatePipelineDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class SimulatePipelineDescriptor : RequestDescriptorBase<SimulatePipelineDescriptor, SimulatePipelineRequestParameters, ISimulatePipelineRequest>, IDescriptor, ISimulatePipelineRequest, IRequest<SimulatePipelineRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
SimulatePipelineDescriptor()
/_ingest/pipeline/_simulate
Declaration
public SimulatePipelineDescriptor()
|
Edit this page
View Source
SimulatePipelineDescriptor(Id)
/_ingest/pipeline/{id}/_simulate
Declaration
public SimulatePipelineDescriptor(Id id)
Parameters
Type |
Name |
Description |
Id |
id |
Optional, accepts null
|
Methods
|
Edit this page
View Source
Documents(IEnumerable<ISimulatePipelineDocument>)
Declaration
public SimulatePipelineDescriptor Documents(IEnumerable<ISimulatePipelineDocument> documents)
Parameters
Returns
|
Edit this page
View Source
Documents(Func<SimulatePipelineDocumentsDescriptor, IPromise<IList<ISimulatePipelineDocument>>>)
Declaration
public SimulatePipelineDescriptor Documents(Func<SimulatePipelineDocumentsDescriptor, IPromise<IList<ISimulatePipelineDocument>>> selector)
Parameters
Returns
|
Edit this page
View Source
Id(Id)
Pipeline to test. If you don't specify a pipeline
in the request body, this parameter is required.
Declaration
public SimulatePipelineDescriptor Id(Id id)
Parameters
Type |
Name |
Description |
Id |
id |
|
Returns
|
Edit this page
View Source
Pipeline(Func<PipelineDescriptor, IPipeline>)
Declaration
public SimulatePipelineDescriptor Pipeline(Func<PipelineDescriptor, IPipeline> pipeline)
Parameters
Returns
|
Edit this page
View Source
Verbose(bool?)
If true
, the response includes output data for each processor in the executed pipeline.
Declaration
public SimulatePipelineDescriptor Verbose(bool? verbose = true)
Parameters
Type |
Name |
Description |
bool? |
verbose |
|
Returns
Implements
Extension Methods