I need to return this:

<?xml version="1.0" encoding="UTF-8"?>
<admin>
<status>
<name>Server</name>
<value>ok</value>
</status>
</admin>




________________________________
From: Markus Jelsma <markus.jel...@openindex.io>
To: solr-user@lucene.apache.org
Cc: Tri Nguyen <tringuye...@yahoo.com>
Sent: Tue, December 7, 2010 4:27:32 PM
Subject: Re: customer ping response

Of course! The ping request handler behaves like any other request handler and 
accepts at last the wt parameter [1]. Use xslt [2] to transform the output to 
any desirable form or use other response writers [1].

Why anyway, is it a load balancer that only wants an OK output or something?

[1]: http://wiki.apache.org/solr/CoreQueryParameters
[2]: http://wiki.apache.org/solr/XsltResponseWriter
[3]: http://wiki.apache.org/solr/QueryResponseWriter
> Can I have a custom xml response for the ping request?
> 
> thanks,
> 
> Tri

Reply via email to