Alternatives to JSON output, XML?

Hi there, we have some legacy applications that are running on a platform
with appalling JSON deserialization performance. Does anyone know of any
plugins / options for returning alternative outputs, i.e. XML?

This is for responses coming from the REST api.

Thanks in advance,

D

--

Hi Dominic,

The following plugin can be found to return simple text, HTML, XML or
whatever you want:
http://blog.zenika.com/index.php?post/2012/12/20/Introducing-the-ElasticSearch-View-Plugin

-- Tanguy
@tlrx

Le mercredi 23 janvier 2013 12:18:27 UTC+1, Dominic Watson a écrit :

Hi there, we have some legacy applications that are running on a platform
with appalling JSON deserialization performance. Does anyone know of any
plugins / options for returning alternative outputs, i.e. XML?

This is for responses coming from the REST api.

Thanks in advance,

D

--

Hi Tanguy, thanks for the response.

I did find that but, from what I understand, this will only render
documents and pre-defined search queries. Is that not the case? What I
would like is to have all responses from ES be returned in some other
format.

Dominic

On Wednesday, 23 January 2013 11:35:58 UTC, Tanguy wrote:

Hi Dominic,

The following plugin can be found to return simple text, HTML, XML or
whatever you want:

http://blog.zenika.com/index.php?post/2012/12/20/Introducing-the-ElasticSearch-View-Plugin

-- Tanguy
@tlrx

Le mercredi 23 janvier 2013 12:18:27 UTC+1, Dominic Watson a écrit :

Hi there, we have some legacy applications that are running on a platform
with appalling JSON deserialization performance. Does anyone know of any
plugins / options for returning alternative outputs, i.e. XML?

This is for responses coming from the REST api.

Thanks in advance,

D

--

There's a plugin that mocks the Solr interfaces so you can use Solr based
tools (Nutch, SolrJ, etc.) against elasticsearch. That plugin provides the
Solr XML request/response formats.

If that won't work, it wouldn't be terribly difficult to write a plugin
that returns a custom response format.

On Wednesday, January 23, 2013 6:18:27 AM UTC-5, Dominic Watson wrote:

Hi there, we have some legacy applications that are running on a platform
with appalling JSON deserialization performance. Does anyone know of any
plugins / options for returning alternative outputs, i.e. XML?

This is for responses coming from the REST api.

Thanks in advance,

D

--

Brilliant, thanks for that. I'll take a look.

On 23 January 2013 13:04, egaumer egaumer@gmail.com wrote:

There's a plugin that mocks the Solr interfaces so you can use Solr based
tools (Nutch, SolrJ, etc.) against elasticsearch. That plugin provides the
Solr XML request/response formats.

https://github.com/mattweber/elasticsearch-mocksolrplugin

If that won't work, it wouldn't be terribly difficult to write a plugin
that returns a custom response format.

On Wednesday, January 23, 2013 6:18:27 AM UTC-5, Dominic Watson wrote:

Hi there, we have some legacy applications that are running on a platform
with appalling JSON deserialization performance. Does anyone know of any
plugins / options for returning alternative outputs, i.e. XML?

This is for responses coming from the REST api.

Thanks in advance,

D

--

--
Pixl8 Interactive, 3 Tun Yard, Peardon Street, London
SW8 3HT, United Kingdom

T: +44 [0] 845 260 0726• W: www.pixl8.co.uk• E: info@pixl8.co.uk
Follow us on: Facebook http://www.facebook.com/pixl8
Twitterhttp://www.twitter.com/pixl8
LinkedIn http://www.linkedin.com/pixl8CONFIDENTIAL AND PRIVILEGED - This
e-mail and any attachment is intended solely for the addressee, is strictly
confidential and may also be subject to legal, professional or other
privilege or may be protected by work product immunity or other legal
rules. If you are not the addressee please do not read, print, re-transmit,
store or act in reliance on it or any attachments. Instead, please email it
back to the sender and then immediately permanently delete it. Pixl8
Interactive Ltd Registered in England. Registered number: 04336501.
Registered office: 8 Spur Road, Cosham, Portsmouth, Hampshire, PO6 3EB

--

What language are you using?

I have Java code available to render XML, for example for XSL stylesheet
transformations in a Java App server front-end. Please give me an info if
you would like a release, it is using the XContent API.

Best regards,

Jörg

--