Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 7720 invoked from network); 15 Jul 2009 17:34:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 17:34:37 -0000 Received: (qmail 58093 invoked by uid 500); 15 Jul 2009 17:34:45 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 58005 invoked by uid 500); 15 Jul 2009 17:34:45 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 57939 invoked by uid 99); 15 Jul 2009 17:34:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 17:34:39 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 17:34:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 018E2234C04C for ; Wed, 15 Jul 2009 10:34:15 -0700 (PDT) Message-ID: <961319031.1247679255005.JavaMail.jira@brutus> Date: Wed, 15 Jul 2009 10:34:15 -0700 (PDT) From: "Shalin Shekhar Mangar (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1261) Lucene trunk renamed RangeQuery & Co to TermRangeQuery In-Reply-To: <110285824.1246739327163.JavaMail.jira@brutus> 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/SOLR-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731576#action_12731576 ] Shalin Shekhar Mangar commented on SOLR-1261: --------------------------------------------- {quote}In my opinion, QueryParsing.java should now also be able to create a string representation of NumericRangeQueries, I did this, too (related to SOLR-940).{quote} The only problem is that Solr always prints out the value given by FieldType#toExternal which TermRangeQuery#toString wouldn't know about. So I guess we should leave it as is. > Lucene trunk renamed RangeQuery & Co to TermRangeQuery > ------------------------------------------------------ > > Key: SOLR-1261 > URL: https://issues.apache.org/jira/browse/SOLR-1261 > Project: Solr > Issue Type: Task > Components: search > Affects Versions: 1.4 > Reporter: Uwe Schindler > Attachments: SOLR-1261.patch > > > I committed shortly ago LUCENE-1713, that renamed RangeQuery to TermRangeQuery (and also RangeFilter -> TermRangeFilter). The API of the old deprecated RangeQuery and RangeFilter classes was reverted to the state of Lucene 2.4, only the new classes contain the improvements of 2.9. So Solr will not compile anymore, because the new ctors of RangeQuery and setConstantScoreRewrite are no longer available, but were already included into Solr. > This can be solved by simply replacing RangeQuery to TermRangeQuery in the source. > There were some minor cleanups with the API, because there must not be any strange methods anmes because of BW compatibility in the new class. Also all ctors using Term are only available in the deprecated classes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.