Search Results for

    Show / Hide Table of Contents

    Class DateIndexNameProcessor

    Inheritance
    object
    ProcessorBase
    DateIndexNameProcessor
    Implements
    IDateIndexNameProcessor
    IProcessor
    Inherited Members
    ProcessorBase.If
    ProcessorBase.Tag
    ProcessorBase.IgnoreFailure
    ProcessorBase.OnFailure
    ProcessorBase.Description
    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 DateIndexNameProcessor : ProcessorBase, IDateIndexNameProcessor, IProcessor

    Properties

    | Edit this page View Source

    DateFormats

    An array of the expected date formats for parsing dates / timestamps in the document being preprocessed. Default is yyyy-MM-dd'T'HH:mm:ss.SSSZ

    Declaration
    public IEnumerable<string> DateFormats { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    | Edit this page View Source

    DateRounding

    How to round the date when formatting the date into the index name.

    Declaration
    public DateRounding? DateRounding { get; set; }
    Property Value
    Type Description
    DateRounding?
    | Edit this page View Source

    Field

    The field to get the date or timestamp from.

    Declaration
    public Field Field { get; set; }
    Property Value
    Type Description
    Field
    | Edit this page View Source

    IndexNameFormat

    The format to be used when printing the parsed date into the index name.

    Declaration
    public string IndexNameFormat { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IndexNamePrefix

    A prefix of the index name to be prepended before the printed date.

    Declaration
    public string IndexNamePrefix { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Locale

    The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.

    Declaration
    public string Locale { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Name

    Declaration
    protected override string Name { get; }
    Property Value
    Type Description
    string
    Overrides
    ProcessorBase.Name
    | Edit this page View Source

    TimeZone

    The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.

    Declaration
    public string TimeZone { get; set; }
    Property Value
    Type Description
    string

    Implements

    IDateIndexNameProcessor
    IProcessor

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • DateFormats
      • DateRounding
      • Field
      • IndexNameFormat
      • IndexNamePrefix
      • Locale
      • Name
      • TimeZone
    • Implements
    • Extension Methods
    Back to top Generated by DocFX