I'm using elasticsearch through django haystack, and I'm trying to set a mapping for an attachment.
This mapping is PUT to the es engine when creating the new index. This operation is done when rebuilding index.
My mapping looks like this (python dict encoded, json is produced later):
When I re-create the index, I've an error in the es logs :
I've tryed many settings conbinations, but I'm still stuck : the mapping is not created.
I've watched sour-code for mapper attachment, but I can't figure out how to set the mapping...
Thanks for your help !