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 ma...@sherpa-consulting.be on 2007/01/16 14:58:23 UTC

Converting Solr response back to pojo's, experiences?

Anyone having experience converting xml responses back to pojo's,  
which technologies have you used?

Anyone doing json <-> pojo's?

Grtz


Re: Converting Solr response back to pojo's, experiences?

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Tue, 2007-01-16 at 14:58 +0100, maarten@sherpa-consulting.be wrote:
> Anyone having experience converting xml responses back to pojo's,  
> which technologies have you used?
> 
> Anyone doing json <-> pojo's?

Using pure xml myself but have a look at 
https://issues.apache.org/jira/browse/SOLR-20
and 
https://issues.apache.org/jira/secure/attachment/12348567/solr-client.zip

HTH
salu2

> 
> Grtz
> 


Re: Converting Solr response back to pojo's, experiences?

Posted by Ken Krugler <kk...@transpac.com>.
>Anyone having experience converting xml responses back to pojo's, 
>which technologies have you used?

We started off using a regular DOM parser and coding it by hand, but 
have switched to XStream. This (with some help handling the Solr <-> 
pojo mappings) seems to work fine once you get past a few encoding 
issues.

-- Ken
-- 
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"