Re: [CLucene-dev] vector subscript out of range exception during indexing

2010-06-23 Thread Kostka Bořivoj
I started porting of test but I have problem with private/protected methods. Some JLucene methods are used in tests but marked private in CLucene, e.g. IndexWriter writer = new IndexWriter(dir, analyzer, true); writer.addDocument(testDoc); writer.flush(); SegmentInfo info = writer

Re: [CLucene-dev] vector subscript out of range exception during indexing

2010-06-23 Thread Kostka Bořivoj
I'm not sure which JLucene version I should use (and where to get it) Borek > -Original Message- > From: Itamar Syn-Hershko [mailto:ita...@code972.com] > Sent: Wednesday, June 23, 2010 12:11 AM > To: clucene-developers@lists.sourceforge.net > Subject: Re: [CLucene-dev] vector subscript ou

[CLucene-dev] vector subscript out of range exception during indexing

2010-06-21 Thread Kostka Bořivoj
During indexing set of documents (about 1 already indexed) I get the exception "vector subscript out of range" from ArrayBase operator [ ]. I did some research and it seems it is because threadState->postingEquals() method is called with invalid threadState->p set. The postingsHash[hashPos] p