Is ignore_unmapped deprecated in ES 6?


(Cynosureabu) #1

I am getting:

"type": "x_content_parse_exception",
"reason": "[40:9] [field_sort] unknown field [ignore_unmapped], parser not found"

But if I remove the field, then i cannot do sort on the query result if result does not have the field

Cannot find any document on this.


(Cynosureabu) #2

I switched to

"unmapped_type" : "date"

and it seems to work.