Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 31745 invoked from network); 12 Jun 2008 16:23:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2008 16:23:07 -0000 Received: (qmail 69792 invoked by uid 500); 12 Jun 2008 16:23:08 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 69746 invoked by uid 500); 12 Jun 2008 16:23:08 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 69737 invoked by uid 99); 12 Jun 2008 16:23:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 09:23:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 16:22:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 08964234C139 for ; Thu, 12 Jun 2008 09:22:45 -0700 (PDT) Message-ID: <1806518491.1213287765034.JavaMail.jira@brutus> Date: Thu, 12 Jun 2008 09:22:45 -0700 (PDT) From: "Robert Newson (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Resolved: (LUCENE-1305) Assertion error in TermsInfoWriter In-Reply-To: <767075318.1213278404972.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson resolved LUCENE-1305. ----------------------------------- Resolution: Invalid Had two versions of Lucene on my classpath (2.2.0 and 2.3.2), this doesn't work, nor should it. > 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org