Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 61483 invoked from network); 15 Jul 2009 18:40:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 18:40:30 -0000 Received: (qmail 72080 invoked by uid 500); 15 Jul 2009 18:40:39 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 72025 invoked by uid 500); 15 Jul 2009 18:40:39 -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 72015 invoked by uid 99); 15 Jul 2009 18:40:38 -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 18:40:38 +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 18:40:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D6E5C234C045 for ; Wed, 15 Jul 2009 11:40:14 -0700 (PDT) Message-ID: <731443640.1247683214879.JavaMail.jira@brutus> Date: Wed, 15 Jul 2009 11:40:14 -0700 (PDT) From: "Uwe Schindler (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=12731614#action_12731614 ] Uwe Schindler commented on SOLR-1261: ------------------------------------- The only problem with the above code are Date Trie Queries, as they would be printed as long values... (effectively toExternal(Long.toString()) :( > 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 > Assignee: Shalin Shekhar Mangar > Fix For: 1.4 > > 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.