Veit,
You might be right, I wonder why this hasn't been discovered by now? Would
you mind writing a minified test case for this and possibly also
demonstrating how your proposed fix fixes this issue? I will then have to
verify this and perhaps write (port) a few more IndexWriter tests...
As we wrote on the very same page you pointed at, we will welcome any help
on the project. If you're interested, I could e-mail you the .shtml pages we
are using so you could proof-read them all more easily (I don't even have
the time to run a spell-checker on them myself !). Thanks.
Itamar.
_____
From: Veit Jahns [mailto:nuncupa...@googlemail.com]
Sent: Tuesday, November 10, 2009 10:42 PM
To: clucene-developers@lists.sourceforge.net
Subject: [CLucene-dev] Endless loop in IndexWriter?
Dear CLucene developers,
some days ago I played around with CLucene in a multi-threaded application.
In one of my tests I found my application trapped in an endless loop in
core/CLucene/index/IndexWriter.cpp, lines 2290-2294:
if (deleteIds.size() > 0) {
vector<int32_t>::const_iterator iter2 = deleteIds.begin();
while(iter2 != deleteIds.end() )
reader->deleteDocument(*iter2);
}
I guess, that there is an increment of iter2 is missing in the while-loop .
By the way, I took a look at your project web page today. I found some typo
errors on http://clucene.sourceforge.net/contribute.shtml:
- 3rd paragraph: "lagacy code" --> legacy
- 5th paragraph: "don't hasitate dropping us a line!" --> "hesitate"
- 7th paragraph: "exta info" --> "extra"
If you like, I can (try to) proof-read the other pages too.
Kind regards,
Veit Jahns
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers