Yes you'd need to store the content_type to get it back. The _source field in your case is actually nothing more than the base64 of your raw input document at the time you indexed it.
-- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e7c8c6d7-7c9d-49a6-8234-9bebec5050d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.