Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 29810 invoked from network); 22 Jul 2010 22:22:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Jul 2010 22:22:15 -0000 Received: (qmail 45480 invoked by uid 500); 22 Jul 2010 22:22:14 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 45396 invoked by uid 500); 22 Jul 2010 22:22:14 -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 45388 invoked by uid 99); 22 Jul 2010 22:22:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jul 2010 22:22:14 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jul 2010 22:22:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6MMLoHx004238 for ; Thu, 22 Jul 2010 22:21:50 GMT Message-ID: <5217522.527871279837310494.JavaMail.jira@thor> Date: Thu, 22 Jul 2010 18:21:50 -0400 (EDT) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2554) preflex codec doesn't order terms correctly In-Reply-To: <26527239.523971279826689538.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891364#action_12891364 ] Robert Muir commented on LUCENE-2554: ------------------------------------- the perf issues here are really from our contrived tests... its good to use _TestUtil.randomUnicodeString, but it gives you the impression there is something wrong with this dance and there really isnt. I added _TestUtil.randomRealisticUnicodeString in r966878, you can swap this into some of these slow tests and see its definitely the problem. > preflex codec doesn't order terms correctly > ------------------------------------------- > > Key: LUCENE-2554 > URL: https://issues.apache.org/jira/browse/LUCENE-2554 > Project: Lucene - Java > Issue Type: Test > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 4.0 > > Attachments: LUCENE-2554.patch > > > The surrogate dance in the preflex codec (which must dynamically remap terms from UTF16 order to unicode code point order) is buggy. > To better test it, I want to add a test-only codec, preflexrw, that is able to write indices in the pre-flex format. Then we should also fix tests to randomly pick codecs (including preflexrw) so we better test all of our codecs. -- 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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org