Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 47027 invoked from network); 9 May 2008 05:07:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2008 05:07:33 -0000 Received: (qmail 40822 invoked by uid 500); 9 May 2008 05:07:28 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 40766 invoked by uid 500); 9 May 2008 05:07:28 -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 40755 invoked by uid 99); 9 May 2008 05:07:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 22:07:28 -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, 09 May 2008 05:06:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 929EA234C10A for ; Thu, 8 May 2008 22:06:55 -0700 (PDT) Message-ID: <438236883.1210309615599.JavaMail.jira@brutus> Date: Thu, 8 May 2008 22:06:55 -0700 (PDT) From: "Steven Rowe (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (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:all-tabpanel ] Steven Rowe updated LUCENE-1279: -------------------------------- Attachment: LUCENE-1279.patch Rewritten patch, with the collating range functionality now added to existing classes RangeQuery and RangeFilter. All tests pass. > 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 > > Attachments: LUCENE-1279.patch, LUCENE-1279.patch > > > 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