You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where I'd expect the opposite as I defined the locale "FRENCH". Note that I tried other locales like fr but then all docs are failing which makes me think that FRENCH was the right option to use. Kibana Console proposed for this field "ENGLISH" as the default.
{
"docs": [
{
"error": {
"root_cause": [
{
"type": "exception",
"reason": "java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: unable to parse date [May 2017]",
"header": {
"processor_type": "date"
}
}
],
"type": "exception",
"reason": "java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: unable to parse date [May 2017]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "java.lang.IllegalArgumentException: unable to parse date [May 2017]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "unable to parse date [May 2017]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": """Invalid format: "May 2017""""
}
}
},
"header": {
"processor_type": "date"
}
}
},
{
"error": {
"root_cause": [
{
"type": "exception",
"reason": "java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: unable to parse date [Mai 2017]",
"header": {
"processor_type": "date"
}
}
],
"type": "exception",
"reason": "java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: unable to parse date [Mai 2017]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "java.lang.IllegalArgumentException: unable to parse date [Mai 2017]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "unable to parse date [Mai 2017]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": """Invalid format: "Mai 2017""""
}
}
},
"header": {
"processor_type": "date"
}
}
}
]
}
The text was updated successfully, but these errors were encountered:
It's confirmed as per #25515 that the locale in mapping is defined as fr and not FRENCH.
Isn't that strange that we don't use the same definition for a Locale for different APIs?
I came to this while working on a discuss problem
Here is a recreation script (tested on 5.4.2):
First date is in english and the second one is in french.
It gives:
Where I'd expect the opposite as I defined the locale "FRENCH". Note that I tried other locales like
fr
but then all docs are failing which makes me think thatFRENCH
was the right option to use. Kibana Console proposed for this field "ENGLISH" as the default.The text was updated successfully, but these errors were encountered: