Hi,
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):
https://gist.github.com/frague59/eddc0c9446809ba0c917
When I re-create the index, I've an error in the es logs :
https://gist.github.com/frague59/843dbaea1981b4232a49
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 !