SolrDocumentList extends an ArrayList. You can iterate on it the way you
would do on a list. Here's an example
for(SolrDocument doc : listingSearchResponse.getResults()){
> System.out.print(doc.getFieldValue("yourFieldName"));
> }
>
Cheers
Avlesh
On Mon, May 4, 2009 at 10:36 AM, ahmed baseet w
Hi All,
I'm able to get the whole result bundle by using the following method,
QueryResponse qr = server.query(query);
SolrDocumentList sdl = qr.getResults();
but I'm not able to iterate over the results. I converted this to string and
displayed that and that is a full res