Hi,

ConstantScorer destructor deletes bits returned by filter->bits() method 
(called in constructor)
without checking if filter->shouldDeleteBitSet() returns true.

This causes double deletion of bits in case the filter is derived from 
AbstractCachingFilter.

Proposed fix (in constantscorequery.cpp) attached


Attachment: constantscorequery.diff
Description: constantscorequery.diff

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to