Re: parsing many documents takes too long

2011-08-15 Thread Erik Hatcher
Sounds like you aren't using SolrJ, which will return a Java object back to you 
natively.   Give that a try and let us know how it fairs against the jaxb 
method.

Erik

On Aug 12, 2011, at 02:58 , Tri Nguyen wrote:

> Hi,
>  
> My results from solr returns about 982 documents and I use jaxb to parse them 
> into java objects, which takes about 469 ms, which is over my 150-200ms 
> threshold.
>  
> Is there a solution around this?  Can I store the java objects in the index 
> and return them in the solr response and then serialize them back into java 
> objects?  Would this take less time?
>  
> Any other ideas?
>  
> Thanks,
>  
> Tri



parsing many documents takes too long

2011-08-11 Thread Tri Nguyen
Hi,
 
My results from solr returns about 982 documents and I use jaxb to parse them 
into java objects, which takes about 469 ms, which is over my 150-200ms 
threshold.
 
Is there a solution around this?  Can I store the java objects in the index and 
return them in the solr response and then serialize them back into java 
objects?  Would this take less time?
 
Any other ideas?
 
Thanks,
 
Tri