From java-dev-return-25494-apmail-lucene-java-dev-archive=lucene.apache.org@lucene.apache.org Fri May 02 20:06:56 2008 Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 95592 invoked from network); 2 May 2008 20:06:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2008 20:06:56 -0000 Received: (qmail 76965 invoked by uid 500); 2 May 2008 20:06:54 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 76929 invoked by uid 500); 2 May 2008 20:06:54 -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 76918 invoked by uid 99); 2 May 2008 20:06:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 13:06:54 -0700 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG 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; Fri, 02 May 2008 20:06:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AFDEA234C115 for ; Fri, 2 May 2008 13:02:55 -0700 (PDT) Message-ID: <599105376.1209758575719.JavaMail.jira@brutus> Date: Fri, 2 May 2008 13:02:55 -0700 (PDT) From: "Steven Rowe (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1279) RangeQuery and RangeFilter should use collation to check for range inclusion In-Reply-To: <1523801567.1209748615612.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-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593867#action_12593867 ] Steven Rowe commented on LUCENE-1279: ------------------------------------- (Wild guess): iterate over all terms instead of iterating over terms between the lower and upper term. Hmm, this is going to be slow. The implementation could default to the current behavior if no/null Locale is supplied. > RangeQuery and RangeFilter should use collation to check for range inclusion > ---------------------------------------------------------------------------- > > Key: LUCENE-1279 > URL: https://issues.apache.org/jira/browse/LUCENE-1279 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Affects Versions: 2.3.1 > Reporter: Steven Rowe > Priority: Minor > Fix For: 2.4 > > > See [this java-user discussion|http://www.nabble.com/lucene-farsi-problem-td16977096.html] of problems caused by Unicode code-point comparison, instead of collation, in RangeQuery. > RangeQuery could take in a Locale via a setter, which could be used with a java.text.Collator and/or CollationKey's, to handle ranges for languages which have alphabet orderings different from those in Unicode. -- 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