XML Configuration Reference : Index : FormatCheckerDate
 
FormatCheckerDate
com.exalead.indexing.analysis.v10.FormatCheckerDate
The FormatCheckDate processor checks the chunk matches either:
a custom input format defined with UNIX date syntax (for example,%Y/%m/%d-%H:%M:%S)
one of the automatically recognized date formats
Parent elements:
com.exalead.indexing.analysis.v10.AnalysisPipeline (as AnalysisPipeline)
com.exalead.indexing.analysis.v10.DocumentProcessorGroup (as DocumentProcessorGroup)
Attributes:
Name
Type
Default value
Description
inputContext
string
The processor will only be applied to DocumentChunks with this ContextName.
name
string
Name of this processor. The name of a processor is used only for tracing and debugging purposes.
dataModelState
string
Is this document processor managed by a data model? @enum{null,auto,customized, error}.
If null, this document processor is not related to a data model.
If "auto", this document processor is auto-generated by a data model.
If "customized", this document processor was auto-generated by a data model and then customized.
If "error", there is a conflict between this document processor and the data model.
dataModelClass
string
If dataModelState is either "auto" or "customized", you will find here the name of the DataModelClass that generated this DocumentProcessor.
dataModelProperty
string
If dataModelState is either "auto" or "customized", you will find here the name of the DataModelProperty that generated this DocumentProcessor.
disabled
boolean
Disable the DocumentProcessor
inputFormat
string
An optional date input format, compliant with libc's strptime() format. If such a format is provided, the automatic date format heuristic is disabled, and the provided date format is used exclusively. Documentation of accepted formats: (days and month literals are only recognized in English)
%a: The day of the week ("Monday", ...)
%A: Equivalent to %a
%b: The month ("January", ...)
%B: Equivalent to %b
%c: Equivalent to %a %b %e %H:%M:%S %Y
%C: The century number [00,99]
%d: The day of the month [01,31]
%D: Equivalent to %m/%d/%y
%e: Equivalent to %d
%h: Equivalent to %b
%H: The hour (24-hour clock) [00,23]
%I: The hour (12-hour clock) [01,12]
%j: The day number of the year [001,366]
%m: The month number [01,12]
%M: The minute [00,59]
%n: Any white space
%dt: AM or PM
%r: Equivalent to %I:%M:%S %p
%R: Equivalent to %H:%M
%S: The seconds [00,60]
%t: Any white space
%T: Equivalent to %H:%M:%S
%U: The week number of the year (Sunday as the first day of the week) as a decimal number [00,53]
%w: The weekday as a decimal number [0,6], with 0 representing Sunday
%W: The week number of the year (Monday as the first day of the week) as a decimal number [00,53]
%x: Equivalent to %m/%d/%y
%X: Equivalent to %H:%M:%S
%y: The year within century. (for two-digit dates, [69,99] is mapped to [1969,1999] and [00,68] is mapped to [2000,2068])
%Y: The year, including the century (for example, 1988)
%%: Replaced by %
Nested elements:
Name
Type
Description
fromDataModel
com.exalead.indexing.analysis.v10.DocumentProcessor
If dataModelState is "customized", you will find here the original document processor generated by the data model. Use this to easily revert to "auto" state from "customized". @IgnoreForValueConstructor
AcceptCondition
com.exalead.indexing.analysis.v10.AcceptCondition
Expresses the enablement condition of this DocumentProcessor.