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

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

Shiny ke

Please update your bookmarks! We have moved to

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
To view this discussion on the web visit
For more options, visit