Hi,
Please insert a new ticket to our bug tracker -
https://sourceforge.net/tracker/?group_id=80013
<https://sourceforge.net/tracker/?group_id=80013&atid=558446> &atid=558446.
Please specify which version you are using (0.9.21b or the 2_3_2 branch from
git).
A complete bug report which we handle quickly and commit a fix of contains
full info, a short test case demonstrating the bug and a fix, which when
applied makes the test code run smooth. We will validate it doesn't ruin
anything else and commit.
Thanks.
Itamar.
_____
From: Qizhen Ruan [mailto:ruanqiz...@gmail.com]
Sent: Thursday, January 28, 2010 9:51 AM
To: clucene-developers@lists.sourceforge.net
Subject: [CLucene-dev] Fix a bug in clucene-core-0.9.21b
Hi all,
I found a bug in line 664, function SegmentMerger::mergeNorms(), file
SegmentMerger.cpp.
It happens when I was mergering my index in the RAMDirectory to an empty
index on the disk. The index could be empty, so the maxDoc is 0 sometimes.
It shouldn't get the IndexInput if maxDoc is zero. Otherwise, an exception
is happened.
To fix this bug, I insert a condition statement in line 664, only get the
IndexInput if maxDoc>0.
I don't know the process of SourceForge, but could I submit my fix to the
source code?
Thanks,
Qizhen
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers