-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attachment mapping #10
Comments
First make sure you have set "with_attachments":trueand, of course, you have installed the elasticsearch-mapper-attachments plugin. Your mapping should look like this (surely without the the dots (...) and comments (//XXX)) "mail" : { "properties" : { //start "attachments" : { "properties" : { "content" : { "type" : "attachment" }, "contentType" : { "type" : "string" }, "fileName" : { "type" : "string" }, "size" : { "type" : "integer" } } }, //end "bcc" : { "properties" : { "email" : { "type" : "string" }, "personal" : { "type" : "string" } } }, "cc" : { ... ... //rest of the mapping |
Works now, thanks a lot for your help. Gabriel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'd like to add attachment mapping for:
https://github.com/elasticsearch/elasticsearch-mapper-attachments/
I not sure what is the correct way to do that. I would appreciate your help. Maybe would help to also update the documentation, in case somebody else needs it.
Here is the modified mapping I'm trying to use:
I did restart elasticsearch after the change.
Thanks,
Gabriel
The text was updated successfully, but these errors were encountered: