On Fri, Feb 13, 2009 at 9:18 PM, Amit Nithian <anith...@gmail.com> wrote:
> Hi Noble,
> According to the wiki, the following should work:
> server.setParser(new XMLResponseParser());
I guess it may be a typo. pls referto the javadocs for CommonsHttpSolrServer
>
> However, I don't see that method. The only place I see that method even
> being declared is in the SolrRequest class but then wiring that up with the
> SolrServer and getting results wasn't overly obvious to me.

if a parser is set at the Request level ,that takes precedence.
>
> Thanks
> Amit
>
> On Fri, Feb 13, 2009 at 12:31 AM, Noble Paul നോബിള്‍ नोब्ळ् <
> noble.p...@gmail.com> wrote:
>
>> On Fri, Feb 13, 2009 at 1:16 PM, Amit Nithian <anith...@gmail.com> wrote:
>> > I am using SolrJ from trunk and according to
>> > http://wiki.apache.org/solr/Solrj you should be able to set the response
>> > parser in the SolrServer interface layer; however, I am unable to do so
>> and
>> > I need the XML response support for querying and adding documents to a
>> Solr
>> > 1.2 instance. Also, I have changed the XML response for a particular
>> query
>> > handler and hence may need to alter the response parser to accommodate
>> these
>> > changes.
>> setting a response parser should work , how do you know it does not work?
>> > I know that the API is experimental but has trunk's version of the SolrJ
>> API
>> > changed with respect to SolrJ wiki?
>> No. the trunk should still work w/ Solr 1.2
>> >
>> > Thanks
>> > Amit
>> >
>>
>>
>>
>> --
>> --Noble Paul
>>
>



-- 
--Noble Paul

Reply via email to