Class ReindexSourceDescriptor
Configures the source for a reindex API request
Inheritance
ReindexSourceDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class ReindexSourceDescriptor : DescriptorBase<ReindexSourceDescriptor, IReindexSource>, IDescriptor, IReindexSource
Methods
|
Edit this page
View Source
Index(Indices)
Declaration
public ReindexSourceDescriptor Index(Indices indices)
Parameters
Type |
Name |
Description |
Indices |
indices |
|
Returns
|
Edit this page
View Source
Query<T>(Func<QueryContainerDescriptor<T>, QueryContainer>)
Search query to execute to match documents for reindexing
Declaration
public ReindexSourceDescriptor Query<T>(Func<QueryContainerDescriptor<T>, QueryContainer> querySelector) where T : class
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Remote(Func<RemoteSourceDescriptor, IRemoteSource>)
Reindex from a remote OpenSearch cluster
Declaration
public ReindexSourceDescriptor Remote(Func<RemoteSourceDescriptor, IRemoteSource> selector)
Parameters
Returns
|
Edit this page
View Source
Size(int?)
The batch size of documents
Declaration
public ReindexSourceDescriptor Size(int? size)
Parameters
Type |
Name |
Description |
int? |
size |
|
Returns
|
Edit this page
View Source
Manually parallelize the reindexing process.
This parallelization can improve efficiency and provide a convenient
way to break the request down into smaller parts.
Declaration
public ReindexSourceDescriptor Slice<T>(Func<SlicedScrollDescriptor<T>, ISlicedScroll> selector) where T : class
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Source<T>(Func<FieldsDescriptor<T>, IPromise<Fields>>)
Individual fields from _source to reindex
Declaration
public ReindexSourceDescriptor Source<T>(Func<FieldsDescriptor<T>, IPromise<Fields>> fields) where T : class
Parameters
Returns
Type Parameters
Implements
Extension Methods