Search Results for

    Show / Hide Table of Contents

    Class ReindexDestinationDescriptor

    Configures the destination for a reindex API request

    Inheritance
    object
    DescriptorBase<ReindexDestinationDescriptor, IReindexDestination>
    ReindexDestinationDescriptor
    Implements
    IDescriptor
    IReindexDestination
    Inherited Members
    DescriptorBase<ReindexDestinationDescriptor, IReindexDestination>.Self
    DescriptorBase<ReindexDestinationDescriptor, IReindexDestination>.Assign<TValue>(TValue, Action<IReindexDestination, 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 ReindexDestinationDescriptor : DescriptorBase<ReindexDestinationDescriptor, IReindexDestination>, IDescriptor, IReindexDestination

    Methods

    | Edit this page View Source

    Index(IndexName)

    The index to reindex into

    Declaration
    public ReindexDestinationDescriptor Index(IndexName index)
    Parameters
    Type Name Description
    IndexName index
    Returns
    Type Description
    ReindexDestinationDescriptor
    | Edit this page View Source

    OpType(OpType?)

    Setting to Create will cause reindex to only create missing documents in the destination index.

    Declaration
    public ReindexDestinationDescriptor OpType(OpType? opType)
    Parameters
    Type Name Description
    OpType? opType
    Returns
    Type Description
    ReindexDestinationDescriptor
    | Edit this page View Source

    Pipeline(string)

    Id of the pipeline to use to process documents

    Declaration
    public ReindexDestinationDescriptor Pipeline(string pipeline)
    Parameters
    Type Name Description
    string pipeline
    Returns
    Type Description
    ReindexDestinationDescriptor
    | Edit this page View Source

    Routing(ReindexRouting)

    The routing to use when reindexing

    Declaration
    public ReindexDestinationDescriptor Routing(ReindexRouting routing)
    Parameters
    Type Name Description
    ReindexRouting routing
    Returns
    Type Description
    ReindexDestinationDescriptor
    | Edit this page View Source

    VersionType(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
    public ReindexDestinationDescriptor VersionType(VersionType? versionType)
    Parameters
    Type Name Description
    VersionType? versionType
    Returns
    Type Description
    ReindexDestinationDescriptor

    Implements

    IDescriptor
    IReindexDestination

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • Index(IndexName)
      • OpType(OpType?)
      • Pipeline(string)
      • Routing(ReindexRouting)
      • VersionType(VersionType?)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX