Commit 9afe15f
Dateformat epoch_mills is mispelled
Following nest call fails:
elasticClient.CreateIndex("testindex",
descriptor =>
descriptor.Mappings(mappings => mappings
.Map<EventMapping>(md => md
.Properties(props => props
.Date(d => d.Name("Time").Format(DateFormat.epoch_millis))
...
```
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [event]: Invalid format: [epoch_mills]: Illegal pattern component: p"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [event]: Invalid format: [epoch_mills]: Illegal pattern component: p",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "Invalid format: [epoch_mills]: Illegal pattern component: p",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "Illegal pattern component: p"
}
}
},
"status": 400
}
```1 parent b3e6a21 commit 9afe15f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments