Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 90256 invoked from network); 27 Sep 2009 00:44:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Sep 2009 00:44:52 -0000 Received: (qmail 83472 invoked by uid 500); 27 Sep 2009 00:44:51 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 83389 invoked by uid 500); 27 Sep 2009 00:44:51 -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 83379 invoked by uid 99); 27 Sep 2009 00:44:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2009 00:44:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yseeley@gmail.com designates 209.85.219.219 as permitted sender) Received: from [209.85.219.219] (HELO mail-ew0-f219.google.com) (209.85.219.219) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2009 00:44:42 +0000 Received: by ewy19 with SMTP id 19so3559226ewy.28 for ; Sat, 26 Sep 2009 17:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=9NHsuBqtluUOkhDh5BPy73kmnFLoJOdCN1NDvQ60fsI=; b=pCVVoib8ukehEu+MoQLtBrsF+d42lSqTIWi0UW77B0tWfOBoKF7HUbqAqEF+snbf9k +q8C+tzSTYXetYjVySkqOrmso8rE8Bm2RrKIpDEzWn7oK+WQFG68Gm7tArKEZtBcnFRm XO26ZHo+HWkLFkU+KGCL8MnXMne6t+Qf5wd9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=Z4WQQ7jasWexvZ/Y/91QwnviIuN5SigJYq+QI9hMH+cbM2t5xjFlY9sAIIhLNUbXjN riFs/l8DGOZJSluYyad/GiBOSHOz9CW2mDpnqCodJtZRuTluYgbwDlzJWyyMhVD601su A9oH2Pf6A45s32M8ltyYdryqvuaS8jgW9jAYw= MIME-Version: 1.0 Sender: yseeley@gmail.com Reply-To: yonik@lucidimagination.com Received: by 10.216.90.82 with SMTP id d60mr392972wef.79.1254012261077; Sat, 26 Sep 2009 17:44:21 -0700 (PDT) In-Reply-To: <20090926234644.D8E13238889C@eris.apache.org> References: <20090926234644.D8E13238889C@eris.apache.org> Date: Sat, 26 Sep 2009 20:44:21 -0400 X-Google-Sender-Auth: eab3c2835620358a Message-ID: Subject: Re: svn commit: r819234 - in /lucene/solr/trunk/src/java/org/apache/solr: handler/component/QueryElevationComponent.java schema/RandomSortField.java From: Yonik Seeley To: solr-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Ah, yet another reason to use @Override -Yonik http://www.lucidimagination.com On Sat, Sep 26, 2009 at 7:46 PM, wrote: > Author: markrmiller > Date: Sat Sep 26 23:46:44 2009 > New Revision: 819234 > > URL: http://svn.apache.org/viewvc?rev=3D819234&view=3Drev > Log: > sortType was removed from FieldComparator > > Modified: > =A0 =A0lucene/solr/trunk/src/java/org/apache/solr/handler/component/Query= ElevationComponent.java > =A0 =A0lucene/solr/trunk/src/java/org/apache/solr/schema/RandomSortField.= java > > Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/component/Qu= eryElevationComponent.java > URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/s= olr/handler/component/QueryElevationComponent.java?rev=3D819234&r1=3D819233= &r2=3D819234&view=3Ddiff > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- lucene/solr/trunk/src/java/org/apache/solr/handler/component/QueryEle= vationComponent.java (original) > +++ lucene/solr/trunk/src/java/org/apache/solr/handler/component/QueryEle= vationComponent.java Sat Sep 26 23:46:44 2009 > @@ -484,10 +484,6 @@ > =A0 =A0 =A0 =A0 idIndex =3D FieldCache.DEFAULT.getStringIndex(reader, fie= ldname); > =A0 =A0 =A0 } > > - =A0 =A0 =A0public int sortType() { > - =A0 =A0 =A0 =A0return SortField.CUSTOM; > - =A0 =A0 =A0} > - > =A0 =A0 =A0 public Comparable value(int slot) { > =A0 =A0 =A0 =A0 return values[slot]; > =A0 =A0 =A0 } > > Modified: lucene/solr/trunk/src/java/org/apache/solr/schema/RandomSortFie= ld.java > URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/s= olr/schema/RandomSortField.java?rev=3D819234&r1=3D819233&r2=3D819234&view= =3Ddiff > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- lucene/solr/trunk/src/java/org/apache/solr/schema/RandomSortField.jav= a (original) > +++ lucene/solr/trunk/src/java/org/apache/solr/schema/RandomSortField.jav= a Sat Sep 26 23:46:44 2009 > @@ -134,10 +134,6 @@ > =A0 =A0 =A0 =A0 =A0 seed =3D getSeed(fieldname, reader); > =A0 =A0 =A0 =A0 } > > - =A0 =A0 =A0 =A0public int sortType() { > - =A0 =A0 =A0 =A0 =A0return SortField.CUSTOM; > - =A0 =A0 =A0 =A0} > - > =A0 =A0 =A0 =A0 public Comparable value(int slot) { > =A0 =A0 =A0 =A0 =A0 return values[slot]; > =A0 =A0 =A0 =A0 } > > >