Can Attachment type do not store base64 source?

Hi,I'm a new to ES, our project is about email.

Recently, we try to index attachments with Attachment Type. What confused
us is that Although we only need the content index, ES still store file's
base64 string in _source. I am afraid that this may cost a lot of hard disk
space.

Is there some way to solve the problem?Is it possible to index content and
discard base64 string?

Thanks,
Shiny ke

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6480f94e-0903-4e80-ba6a-d24dbb97e081%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.