lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Woods" <>
Subject RE: Processing solr response....
Date Tue, 04 Sep 2007 14:38:45 GMT
This kind of thing is what I was getting at in SOLR-344
(  There I said I'd post a
prototype Java API - but for now, I've had to give up and go back to my
home-grown Lucene-based code.

> -----Original Message-----
> From: Ravish Bhagdev [] 
> Sent: 04 September 2007 15:30
> To:
> Subject: Processing solr response....
> Hi,
> Apologies if this has been asked before but I couldn't find 
> anything when I searched...
> I have been looking ant SolJava examples.  I've been using 
> Nutch/Lucene before which returns results from query nicely 
> in a class with url, title and snippet (summary).  While Solr 
> seems to return XML with score and other details with just 
> the url field.
> Is there a way to avoid having to deal with XML after each 
> query?  I want to avoid parsing it will be much better if I 
> could get results directly into a Java data structure like a 
> List or Map etc through the API.
> Also can anyone point me to some example or documentation 
> which clarifies XML returned by Solr and also how to get 
> variations of this including specifying what exactly i would 
> see in xml like which particular fields etc.  Hope i'm making 
> sense....
> Thanks,
> Ravi

View raw message