luceneplusplus / LucenePlusPlus

Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.
luceneplusplus@googlegroups.com
Other
738 stars 232 forks source link

Condition 'numScorers==0' is always false #158

Closed deepin-mozart closed 3 years ago

alanw commented 3 years ago

Hmm, I'm not sure it is.

numScorers is decremented in heapRemoveRoot which is called inside the loop, before this check.