The problem was caused by redundant NULL test in SegmentMerger::mergeVectors().
termVectorsWriter->addAllDocVectors(tmp) contains code for case tmp is NULL, so 
it should be always called 
(see fix in intensive_testing branch)

Borek

> -----Original Message-----
> From: Ben van Klinken [mailto:bvanklin...@gmail.com]
> Sent: Thursday, September 02, 2010 11:48 AM
> To: clucene-developers@lists.sourceforge.net
> Subject: Re: [CLucene-dev] AddIndexesNoOptimize test added to 
> intensive_testing
> branch, some problems in core detected
> 
> Try running the index test program in Luke. It may show up more
> 
> ben
> 
> On Wednesday, September 1, 2010, Veit Jahns <nuncupa...@googlemail.com>
> wrote:
> > 2010/8/23 Kostka Bořivoj <kos...@tovek.cz>:
> >> The last test in suite (testHangOnClose) fails on CND_PRECONDITION in
> SegmentMerger on line 415.
> >> Is anybody familiar enough with sement merging code to easily detect why?
> >
> > I'm not familiar with the code, but it seems to me, that the problem
> > is not the merging code. Here it is tried to read term vector of some
> > documents, but these documents have no fields with term vectors to be
> > merged. But the index seems fine. I changed to the test, so the index
> > was written to the filesystem and opened it with Luke without any
> > problems.
> >
> > Veit
> >
> > ------------------------------------------------------------------------------
> > This SF.net Dev2Dev email is sponsored by:
> >
> > Show off your parallel programming skills.
> > Enter the Intel(R) Threading Challenge 2010.
> > http://p.sf.net/sfu/intel-thread-sfd
> > _______________________________________________
> > CLucene-developers mailing list
> > CLucene-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/clucene-developers
> >
> 
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
> 
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to