Class DateIndexNameProcessor
Inheritance
DateIndexNameProcessor
Assembly: OpenSearch.Client.dll
Syntax
public class DateIndexNameProcessor : ProcessorBase, IDateIndexNameProcessor, IProcessor
Properties
|
Edit this page
View Source
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
|
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
|
Edit this page
View Source
Field
The field to get the date or timestamp from.
Declaration
public Field Field { get; set; }
Property Value
|
Edit this page
View Source
The format to be used when printing the parsed date into
the index name.
Declaration
public string IndexNameFormat { get; set; }
Property Value
|
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
|
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
|
Edit this page
View Source
Name
Declaration
protected override string Name { get; }
Property Value
Overrides
|
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
Implements
Extension Methods