You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Hando420 <ha...@gmail.com> on 2010/08/06 11:14:01 UTC

Parsing solrj results

I have implement a solrj client for quering index data from database. the
search result is in text but with SolrDocument[{description= which is a
field in xml. How i can parse out this. Thanks.

Hando
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Parsing-solrj-results-tp1029166p1029166.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Parsing solrj results

Posted by Chris Hostetter <ho...@fucit.org>.
: I have implement a solrj client for quering index data from database. the
: search result is in text but with SolrDocument[{description= which is a
: field in xml. How i can parse out this. Thanks.

I'm more then a little confused by your question -- you are using SolrJ? 
correct?

SolrJ takes care of parsing the response from Solr for you, and then you 
just deal with the java objects.

Can you elaborate a bit more on what exactly it is you are trying to do 
and what specific problem you are having?

showing us your initial code (and explaining what it's not doing thta you 
exepct it to) would be helpful.



-Hoss