Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 866241A71 for ; Tue, 19 Apr 2011 20:45:46 +0000 (UTC) Received: (qmail 41934 invoked by uid 500); 19 Apr 2011 20:45:45 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 41810 invoked by uid 500); 19 Apr 2011 20:45:44 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 41519 invoked by uid 99); 19 Apr 2011 20:45:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 20:45:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 20:45:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 68CE3A9417 for ; Tue, 19 Apr 2011 20:45:06 +0000 (UTC) Date: Tue, 19 Apr 2011 20:45:06 +0000 (UTC) From: "Steven Rowe (JIRA)" To: dev@lucene.apache.org Message-ID: <826013620.68121.1303245906425.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <923401574.65539.1303160106390.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3037) TestFSTs.testRealTerms produces a corrupt index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021783#comment-13021783 ] Steven Rowe commented on LUCENE-3037: ------------------------------------- The original method was waaaaaaaaay slower. I added this to my test: {code:java} int[] log0Results = new int[iterations]; ... start = System.currentTimeMillis(); for (int i = 0 ; i < iterations ; ++i) { log0Results[i] = (docFreqs[i] == 0 ? 0 : (int) Math.floor( StrictMath.log(docFreqs[i]) / StrictMath.log(skipIntervals[i]))); } stop = System.currentTimeMillis(); System.err.println("log0: " + (stop - start) + "ms for " + iterations + " iterations."); {code} Result: {noformat} log0: 17933ms for 100000000 iterations. log1: 2420ms for 100000000 iterations. log2: 1139ms for 100000000 iterations. log3: 1697ms for 100000000 iterations. {noformat} > TestFSTs.testRealTerms produces a corrupt index > ----------------------------------------------- > > Key: LUCENE-3037 > URL: https://issues.apache.org/jira/browse/LUCENE-3037 > Project: Lucene - Java > Issue Type: Bug > Reporter: Robert Muir > Fix For: 4.0 > > Attachments: LUCENE-3037.patch, LUCENE-3037_test.patch, index.7z.001, index.7z.002, index.7z.003 > > > seems to be prox/skip related: the test passes, but the checkindex upon closing fails. > ant test-core -Dtestcase=TestFSTs -Dtests.seed=-4012305283315171209:0 -Dtests.multiplier=3 -Dtests.nightly=true -Dtests.linedocsfile=c:/data/enwiki.random.lines.txt.gz > Note: to get the enwiki.random.lines.txt.gz you have to fetch it from hudson (warning 1 gigabyte file). > you also have to run the test a few times to trigger it. > ill upload the index this thing makes to this issue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org