Interface IReindexSource
Configures the source for a reindex API request
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IReindexSource
Properties
| Edit this page View SourceIndex
The indices to target
Declaration
[DataMember(Name = "index")]
Indices Index { get; set; }
Property Value
Type | Description |
---|---|
Indices |
Query
Search query to execute to match documents for reindexing
Declaration
[DataMember(Name = "query")]
QueryContainer Query { get; set; }
Property Value
Type | Description |
---|---|
QueryContainer |
Remote
Reindex from a remote OpenSearch cluster
Declaration
[DataMember(Name = "remote")]
IRemoteSource Remote { get; set; }
Property Value
Type | Description |
---|---|
IRemoteSource |
Size
The batch size of documents
Declaration
[DataMember(Name = "size")]
int? Size { get; set; }
Property Value
Type | Description |
---|---|
int? |
Slice
Manually parallelize the reindexing process. This parallelization can improve efficiency and provide a convenient way to break the request down into smaller parts.
Declaration
[DataMember(Name = "slice")]
ISlicedScroll Slice { get; set; }
Property Value
Type | Description |
---|---|
ISlicedScroll |
Remarks
Automatic slicing can be performed using Slices
Source
Individual fields from _source to reindex
Declaration
[DataMember(Name = "_source")]
Fields Source { get; set; }
Property Value
Type | Description |
---|---|
Fields |