lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-1305) Assertion error in TermsInfoWriter
Date Thu, 12 Jun 2008 16:02:46 GMT


Michael McCandless commented on LUCENE-1305:

bq.The test passes on my local machine but fails on machine in our lab.

Just to clarify here: are you saying that using 2.3.2, and the same OS & JRE, that the
test fails on the machine in your lab but passes on your local machine?

Which exact version of JDK 6 are you using?

What are the differences between these two machines?

When it fails on the machine in your lab, is it always at the same point (after same number
of added docs)?  Or is there some randomness?

> Assertion error in TermsInfoWriter
> ----------------------------------
>                 Key: LUCENE-1305
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 2.3.2
>            Reporter: Robert Newson
>            Assignee: Michael McCandless
> The test passes on my local machine but fails on machine in our lab. Both are using JDK
6 and Ubuntu 8.04. Another interesting difference is that the directory that my input files
are read from is an NFS share, but the index is written to a local disk. the indexing process
is single-threaded. This test completes successfully with lucene 2.2.0 but fails with 2.3.2
(pulled from the maven2 repository).
> indexEnron(bob.IndexingTest)  Time elapsed: 41.285 sec  <<< FAILURE!
> java.lang.AssertionError: Terms are out of order: field=B_contentid (number 7) lastField=B_contentid
(number 7) text=SHA_256  lastText=SHA_256 
> 	at org.apache.lucene.index.TermInfosWriter.add(
> 	at org.apache.lucene.index.DocumentsWriter.appendPostings(
> 	at org.apache.lucene.index.DocumentsWriter.writeSegment(
> 	at org.apache.lucene.index.DocumentsWriter.flush(
> 	at org.apache.lucene.index.IndexWriter.doFlush(
> 	at org.apache.lucene.index.IndexWriter.flush(
> 	at org.apache.lucene.index.IndexWriter.addDocument(
> 	at org.apache.lucene.index.IndexWriter.addDocument(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message