: So as you mentioned in your last mail, how can I prepare a combined
: response for this xml doc and even if I do I don't think it would work
: because the same I am doing in the RequstHandler.
Part of the disconnect you seem to be having with the advice others have
been giving you is that Solr
This sounds like a bad idea. You could have done this much simply inside
your own application using libraries that you know well.
That being said, instead of creating a DOM document, create a solr
NamedList object which can be serialized by XMLResponseWriter.
On Thu, Jul 18, 2013 at 6:48 PM, Vin
My case is like, I have got a few Solr Instances and querying them and
getting their xml response, out of that xml I have to extract a group of
specific xml nodes, later I am combining other solr's response into a
single xml and making a DOM document out of it.
So as you mentioned in your last mai
Okay, let me explain. If you construct your combined response (why are you
doing that again?) in the form a Solr NamedList or SolrDocumentList then
the XMLResponseWriter (which btw uses TextResponseWriter) has no problem
writing it down as XML. The problem here is that you are giving it an
object (
So does that mean there is no way that we can write a XML or JSON object to
the SolrQueryResponse and expect it to be formatted?
ansky
-Original Message-
From: Vineet Mishra
Sent: Thursday, July 18, 2013 8:41 AM
To: solr-user@lucene.apache.org
Subject: Re: Custom RequestHandlerBase XML Response Issue
But it seems it even have something called XML ResponseWriter
https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/cor
But it seems it even have something called XML ResponseWriter
https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/response/XMLResponseWriter.java
Wont it be appropriate in my case?
Although I have not implemented it yet but how come there couldn't be any
way to m
Solr's response writers support only a few known types. Look at the
writeVal method in TextResponseWriter:
https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/response/TextResponseWriter.java
On Thu, Jul 18, 2013 at 4:08 PM, Vineet Mishra wrote:
> Thanks for you
Thanks for your response Shalin,
so does that mean that we can't return a XML object in SolrQueryResponse
through Custom RequestHandler?
On Thu, Jul 18, 2013 at 4:04 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:
> This isn't a Solr issue. Maybe ask on the xerces list?
>
>
> On Thu,
This isn't a Solr issue. Maybe ask on the xerces list?
On Thu, Jul 18, 2013 at 3:31 PM, Vineet Mishra wrote:
> Hi all
>
> I am using a Custom RequestHandlerBase where I am querying from multiple
> different Solr instance and aggregating their output as a XML Document
> using DOM,
> now in the Re
Hi all
I am using a Custom RequestHandlerBase where I am querying from multiple
different Solr instance and aggregating their output as a XML Document
using DOM,
now in the RequestHandler's function handleRequestBody(SolrQueryRequest
req, SolrQueryResponse resp) I want to output this XML Document
11 matches
Mail list logo