Search Results for

    Show / Hide Table of Contents

    Class ReindexSourceDescriptor

    Configures the source for a reindex API request

    Inheritance
    object
    DescriptorBase<ReindexSourceDescriptor, IReindexSource>
    ReindexSourceDescriptor
    Implements
    IDescriptor
    IReindexSource
    Inherited Members
    DescriptorBase<ReindexSourceDescriptor, IReindexSource>.Self
    DescriptorBase<ReindexSourceDescriptor, IReindexSource>.Assign<TValue>(TValue, Action<IReindexSource, TValue>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class ReindexSourceDescriptor : DescriptorBase<ReindexSourceDescriptor, IReindexSource>, IDescriptor, IReindexSource

    Methods

    | Edit this page View Source

    Index(Indices)

    The indices to target

    Declaration
    public ReindexSourceDescriptor Index(Indices indices)
    Parameters
    Type Name Description
    Indices indices
    Returns
    Type Description
    ReindexSourceDescriptor
    | 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
    Type Name Description
    Func<QueryContainerDescriptor<T>, QueryContainer> querySelector
    Returns
    Type Description
    ReindexSourceDescriptor
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Remote(Func<RemoteSourceDescriptor, IRemoteSource>)

    Reindex from a remote OpenSearch cluster

    Declaration
    public ReindexSourceDescriptor Remote(Func<RemoteSourceDescriptor, IRemoteSource> selector)
    Parameters
    Type Name Description
    Func<RemoteSourceDescriptor, IRemoteSource> selector
    Returns
    Type Description
    ReindexSourceDescriptor
    | 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
    Type Description
    ReindexSourceDescriptor
    | Edit this page View Source

    Slice<T>(Func<SlicedScrollDescriptor<T>, ISlicedScroll>)

    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
    Type Name Description
    Func<SlicedScrollDescriptor<T>, ISlicedScroll> selector
    Returns
    Type Description
    ReindexSourceDescriptor
    Type Parameters
    Name Description
    T
    Remarks

    Automatic slicing can be performed using Slices

    | 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
    Type Name Description
    Func<FieldsDescriptor<T>, IPromise<Fields>> fields
    Returns
    Type Description
    ReindexSourceDescriptor
    Type Parameters
    Name Description
    T

    Implements

    IDescriptor
    IReindexSource

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • Index(Indices)
      • Query<T>(Func<QueryContainerDescriptor<T>, QueryContainer>)
      • Remote(Func<RemoteSourceDescriptor, IRemoteSource>)
      • Size(int?)
      • Slice<T>(Func<SlicedScrollDescriptor<T>, ISlicedScroll>)
      • Source<T>(Func<FieldsDescriptor<T>, IPromise<Fields>>)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX