On Tue, Nov 29, 2011 at 12:08 PM, Jason Allen <[email protected]>wrote:

> I'm getting  'numHits must be > 0; please use TotalHitCountCollector
> if you just need the total hit count '
>

Given that we upgraded the Lucene engine my guess is that this is a
behavior change in Lucene. Quick fix is put that code in try/catch so it
won't actually error out if the collection's empty.

-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

Reply via email to