So why not doing that in your application? If you look into _source.file.content and _source.file._content, older docs will have BASE64 content in content and null in _content and the opposite for newer docs.
Do I miss anything? -- David Pilato - Developer | Evangelist elastic.co @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr <https://twitter.com/elasticsearchfr> | @scrutmydocs <https://twitter.com/scrutmydocs> > Le 30 avr. 2015 à 12:33, Prashant Agrawal <prashant.agra...@paladion.net> a > écrit : > > Hi , > Thanks for a quick response, > > Yes , I am making a change content to _content as an index request. > > Here my worry is like our application is already deployed , so with new > changes being done I will not be able to fetch the older records using the > same application as older records will be returned with "content" (in > source) and new records will be returned with "_content". > > So what could be the best way to handle this using elasticsearch. > > ~Prashant > > > > -- > View this message in context: > http://elasticsearch-users.115913.n3.nabble.com/ANN-Elasticsearch-Mapper-Attachment-plugin-2-3-0-released-tp4060656p4074367.html > Sent from the Elasticsearch Users mailing list archive at Nabble.com. > > -- > 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/1430390026413-4074367.post%40n3.nabble.com. > For more options, visit https://groups.google.com/d/optout. -- 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/9FA37BF2-A60A-42CF-92BD-01DC5FDA90D0%40pilato.fr. For more options, visit https://groups.google.com/d/optout.