[
https://issues.apache.org/jira/browse/LUCENE-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604556#action_12604556
]
Robert Newson commented on LUCENE-1305:
---------------------------------------
The test case indexes the Enron corpus and exercises our applications Document
creation stuff, which is quite a few classes, most of which I can't post here.
I'm a long term Lucene user and I've never seen this kind of failure before, so
I'm expecting it to be an environmental issue or some ugly combination of
pieces. I noticed that jdk6 has many hotspot bugs that affect Lucene. We've had
to disable hotstop for invertDocument because it does, eventually, segfault.
Our java version is;
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
> Assertion error in TermsInfoWriter
> ----------------------------------
>
> Key: LUCENE-1305
> URL: https://issues.apache.org/jira/browse/LUCENE-1305
> 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(TermInfosWriter.java:154)
> at
> org.apache.lucene.index.DocumentsWriter.appendPostings(DocumentsWriter.java:2320)
> at
> org.apache.lucene.index.DocumentsWriter.writeSegment(DocumentsWriter.java:2015)
> at
> org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:552)
> at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:2623)
> at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:2523)
> at
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1484)
> at
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1442)
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]