Closed
Description
Hiya
If no indices exist, then put_mapping on _all
fails:
curl -XPUT 'http://127.0.0.2:9200/_all/type_1/_mapping?ignoreConflicts=true' -d '
> {
> "properties" : {
> "num" : {
> "store" : "yes",
> "type" : "integer"
> },
> "text" : {
> "store" : "yes",
> "type" : "string"
> }
> }
> }
> '
{
"error" : "NoSuchElementException[null]"
}
Maybe this is correct?