On Mon, Jun 02, 2008 at 03:46:49PM -0700, Chris Hostetter wrote:
> :   % ruby inspect-solr-result.rb s1.rb
> :   result['responseHeader']['params']['rows']  => 50
> :   result['responseHeader']['params']['start'] => 1
> : 
> :   result['response']['numFound']              => 36
> :   result['response']['start']                 => 1
> :   result['response']['docs'].size             => 35
> 
> ...you want to start at "0", imagine the full result list is a 
> big array, and you are asking for a slice of that array starting at 
> "1", skipping the 0th result.  

'Doh!  of course, results are 0 indexed.   

enjoy,

-jeremy


-- 
========================================================================
 Jeremy Hinegardner                              [EMAIL PROTECTED] 

Reply via email to