Closed SjonHortensius closed 8 years ago
Hi @SjonHortensius
Yes, you can't have an _id
field inside the document _source
any more, as of 2.0. You'll need to reindex these documents manually including a script to delete the _id
field during reindexing.
Thanks, I missed that. After setting script.engine.groovy.inline.update: true
I added this to my reindex parameters:
"script": {
"inline": "ctx._id = ctx._source.remove(\"_id\")"
}
and that does indeed seem to fix it
I keep gettting this error while attempting to reindex a few indexes. Since the index contains data from graylog, the generated _mappings are quite long; but nothing obviously wrong. Full message:
Document from the error-message
Is there anything wrong with these documents? It seems to me META fields should not be mapped? What does this error-message indicate?