Interface IReindexDestination
Configures the destination for a reindex API request
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IReindexDestination
Properties
| Edit this page View SourceIndex
The index to reindex into
Declaration
[DataMember(Name = "index")]
IndexName Index { get; set; }
Property Value
| Type | Description |
|---|---|
| IndexName |
OpType
Setting to Create will cause reindex to only create missing documents in the destination index.
Declaration
[DataMember(Name = "op_type")]
OpType? OpType { get; set; }
Property Value
| Type | Description |
|---|---|
| OpType? |
Pipeline
Id of the pipeline to use to process documents
Declaration
string Pipeline { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Routing
The routing to use when reindexing
Declaration
[DataMember(Name = "routing")]
ReindexRouting Routing { get; set; }
Property Value
| Type | Description |
|---|---|
| ReindexRouting |
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
[DataMember(Name = "version_type")]
VersionType? VersionType { get; set; }
Property Value
| Type | Description |
|---|---|
| VersionType? |