0

I want to dump the entire ElasticSearch data I have into XML documents. I want to specify the fields that I need and have flexibility on how to organize my XML document. My ElasticSearch repository is not small and I'm thinking about a library to use with Python or any other programming language. How can I do that? In fact, I'm looking for something like this project, but instead of jSon, I need XML.

Saeid
  • 1,573
  • 3
  • 19
  • 37
  • What kind of flexibility do you need? Can you give a sample XML output that you'd like to see generated? – Val Dec 02 '15 at 03:38
  • I simply need to have control over the XML structure I generate from ElasticSearch indices. – Saeid Dec 02 '15 at 05:16

1 Answers1

0

I don't think that you'll find something that will do the job without writing some code yourself, e.g. use the tool you mentioned. Most straightforward thing to do is to extract the documents as JSON from ElasticSearch and then transform it into XML, you have plenty of choices to do this depending on the language you want to use. For python as you mentioned it, visit this question here

Community
  • 1
  • 1
cpard
  • 330
  • 1
  • 7