I need to store the XML document and some information pertaining to this in ES. Basically I dont want the XML to be analyzed/indexed. The additional information for the XML will be stored in the field.
When the query is fired for the field, I need to get this XML file pertaining to the search output.
How can I store XML file in ES without indexing/analyzing it. I need to store it and get it as it is without no modification whatsoever for handling some failure scenario.
I am not looking for any additional framework or plugin. Additionally, I don't want to convert XML into JSON as I am not going to index XML.
XML to be stored as it is in ES and some properties of XML to be stored as field in ES.
How can I achieve this?