Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 38738 invoked from network); 17 Jul 2010 10:39:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jul 2010 10:39:53 -0000 Received: (qmail 47818 invoked by uid 500); 17 Jul 2010 10:39:52 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 47210 invoked by uid 500); 17 Jul 2010 10:39:50 -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 47203 invoked by uid 99); 17 Jul 2010 10:39:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jul 2010 10:39:49 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=10.0 tests=ALL_TRUSTED,URI_HEX 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; Sat, 17 Jul 2010 10:39:47 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6HAVtTt016100 for ; Sat, 17 Jul 2010 10:31:55 GMT Message-ID: <11086517.435171279362715171.JavaMail.jira@thor> Date: Sat, 17 Jul 2010 06:31:55 -0400 (EDT) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-2541) NumericRangeQuery errors with endpoints near long min and max values In-Reply-To: <33200316.416341279279190482.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-2541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2541: ---------------------------------- Attachment: LUCENE-2541-uwe- BigDecimal.patch Here again the BigDecimal patch with additional tests. When writing the tests, I verified, that also Yoniks patch works correct, although it looks more "hackish". The Bigdecimal approach looks in my eyes much better, the overhead is neglectible (the range split is in no inner loop and object creation is minimized by precalculated 1< (MAX_VALUE - 1L< NumericRangeQuery errors with endpoints near long min and max values > -------------------------------------------------------------------- > > Key: LUCENE-2541 > URL: https://issues.apache.org/jira/browse/LUCENE-2541 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Affects Versions: 2.9 > Reporter: Koji Sekiguchi > Assignee: Uwe Schindler > Attachments: LUCENE-2541-uwe- BigDecimal.patch, LUCENE-2541-uwe.patch, LUCENE-2541-uwe.patch, LUCENE-2541.patch, LUCENE-2541.patch, TestNumericRangeQuery.java > > > This problem first reported in Solr: > http://lucene.472066.n3.nabble.com/range-query-on-TrieLongField-strange-result-tt970974.html#a970974 -- 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