We are testing some items out with our data, and using the 1.3 dev builds
In this case:

  Solr Specification Version: 1.2.2008.05.10.02.06.17
  Solr Implementation Version: 1.3-dev ${svnversion} - mockbuild - 2008-05-10 
02:06:17

We are using wt=ruby and with the results are are seeing a discrepenecy what
'numFound' says and the number of results in 'docs'.

Here is a sample of one of our results with wt=ruby:

  % 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

  % ruby inspect-solr-result.rb s2.rb
  result['responseHeader']['params']['rows']  => 250
  result['responseHeader']['params']['start'] => 1

  result['response']['numFound']              => 180
  result['response']['start']                 => 1
  result['response']['docs'].size             => 179 

Is this normal?  I'm surprised I didn't notice this earlier.  I know in some
search engines the 'number of results found' is actually an estimate and not
necessarily a verified count.  I'm just wondering if this is the case here too. 

enjoy,

-jeremy

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

Reply via email to