http://wiki.apache.org/solr/XsltResponseWriter
IIRC you can output even json by xslt.
On Thu, Jan 24, 2013 at 5:11 AM, Otis Gospodnetic <
otis.gospodne...@gmail.com> wrote:
> Hi,
>
> Write a custom response writer?
>
> Otis
> Solr & ElasticSearch Support
> http://sematext.com/
> On Jan 23, 2013
If you can handle it in XML, use wt=xml&tr=foo.xsl and use a stylesheet
to format it as you want.
Upayavira
On Wed, Jan 23, 2013, at 08:53 PM, Rafał Kuć wrote:
> Hello!
>
> As far as I know you can't remove the response, numFound, start and
> docs. This is how the response is prepared by Solr an
Hello!
As far as I know you can't remove the response, numFound, start and
docs. This is how the response is prepared by Solr and apart from
removing the header, you can't do anything.
--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch
> no I want
Why? Just skip over that in the code. --wunder
On Jan 23, 2013, at 12:50 PM, hassancrowdc wrote:
> no I wanted it in json. i want it to start from where square bracket starts [
> . I want to remove everything before that. I can get it in json by including
> wt=json. I just want to remove Response
no I wanted it in json. i want it to start from where square bracket starts [
. I want to remove everything before that. I can get it in json by including
wt=json. I just want to remove Response, numFound, start and docs.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Resu
Hello!
Maybe you are looking to get the results in plain text if you want to
remove all the XML tags ? If that so, you can try adding wt=csv to get
the response as CSV instead of XML.
--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch
> Thanks. hal