Class ReindexDestinationDescriptor
Configures the destination for a reindex API request
Inheritance
ReindexDestinationDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class ReindexDestinationDescriptor : DescriptorBase<ReindexDestinationDescriptor, IReindexDestination>, IDescriptor, IReindexDestination
Methods
|
Edit this page
View Source
Index(IndexName)
The index to reindex into
Declaration
public ReindexDestinationDescriptor Index(IndexName index)
Parameters
Returns
|
Edit this page
View Source
OpType(OpType?)
Setting to Create will cause reindex to only
create missing documents in the destination index.
Declaration
public ReindexDestinationDescriptor OpType(OpType? opType)
Parameters
Type |
Name |
Description |
OpType? |
opType |
|
Returns
|
Edit this page
View Source
Pipeline(string)
Id of the pipeline to use to process documents
Declaration
public ReindexDestinationDescriptor Pipeline(string pipeline)
Parameters
Type |
Name |
Description |
string |
pipeline |
|
Returns
|
Edit this page
View Source
Routing(ReindexRouting)
The routing to use when reindexing
Declaration
public ReindexDestinationDescriptor Routing(ReindexRouting routing)
Parameters
Returns
|
Edit this page
View Source
VersionType(VersionType?)
Setting to External will cause OpenSearch
to preserve the version from the source, create any documents that are missing,
and update any documents that have an older version in the destination index
than they do in the source index
Declaration
public ReindexDestinationDescriptor VersionType(VersionType? versionType)
Parameters
Returns
Implements
Extension Methods