Interface IReindexOnServerRequest
A request to Reindex API
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IReindexOnServerRequest : IRequest<ReindexOnServerRequestParameters>, IRequest
Properties
| Edit this page View SourceConflicts
Determine what to do in the event of version conflicts. Defaults to Abort
Declaration
[DataMember(Name = "conflicts")]
Conflicts? Conflicts { get; set; }
Property Value
Type | Description |
---|---|
Conflicts? |
Destination
The destination for the reindex operation.
Declaration
[DataMember(Name = "dest")]
IReindexDestination Destination { get; set; }
Property Value
Type | Description |
---|---|
IReindexDestination |
Remarks
Reindex does not attempt to set up the destination index. It does not copy the settings of the source index. You should set up the destination index beforehand
MaximumDocuments
Limit the number of processed documents
Declaration
[DataMember(Name = "max_docs")]
long? MaximumDocuments { get; set; }
Property Value
Type | Description |
---|---|
long? |
Script
A script that can modify documents from source, including metadata, before reindexing
Declaration
[DataMember(Name = "script")]
IScript Script { get; set; }
Property Value
Type | Description |
---|---|
IScript |
Source
The source for the reindex operation
Declaration
[DataMember(Name = "source")]
IReindexSource Source { get; set; }
Property Value
Type | Description |
---|---|
IReindexSource |