Return-Path: X-Original-To: apmail-lucene-lucene-net-commits-archive@www.apache.org Delivered-To: apmail-lucene-lucene-net-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABA15679 for ; Mon, 20 Aug 2012 21:46:01 +0000 (UTC) Received: (qmail 11443 invoked by uid 500); 20 Aug 2012 21:46:01 -0000 Delivered-To: apmail-lucene-lucene-net-commits-archive@lucene.apache.org Received: (qmail 11411 invoked by uid 500); 20 Aug 2012 21:46:01 -0000 Mailing-List: contact lucene-net-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucene.apache.org Delivered-To: mailing list lucene-net-commits@lucene.apache.org Received: (qmail 11404 invoked by uid 99); 20 Aug 2012 21:46:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 21:46:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 21:46:00 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 79C3823888FE; Mon, 20 Aug 2012 21:45:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1375247 - in /incubator/lucene.net/trunk: src/contrib/Spatial/Vector/DistanceValueSource.cs test/contrib/Spatial/Contrib.Spatial.Test.csproj test/contrib/Spatial/Prefix/TestSpatialPrefixField.cs Date: Mon, 20 Aug 2012 21:45:17 -0000 To: lucene-net-commits@lucene.apache.org From: synhershko@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120820214517.79C3823888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: synhershko Date: Mon Aug 20 21:45:16 2012 New Revision: 1375247 URL: http://svn.apache.org/viewvc?rev=1375247&view=rev Log: LUCENE-4157 Removed: incubator/lucene.net/trunk/test/contrib/Spatial/Prefix/TestSpatialPrefixField.cs Modified: incubator/lucene.net/trunk/src/contrib/Spatial/Vector/DistanceValueSource.cs incubator/lucene.net/trunk/test/contrib/Spatial/Contrib.Spatial.Test.csproj Modified: incubator/lucene.net/trunk/src/contrib/Spatial/Vector/DistanceValueSource.cs URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Spatial/Vector/DistanceValueSource.cs?rev=1375247&r1=1375246&r2=1375247&view=diff ============================================================================== --- incubator/lucene.net/trunk/src/contrib/Spatial/Vector/DistanceValueSource.cs (original) +++ incubator/lucene.net/trunk/src/contrib/Spatial/Vector/DistanceValueSource.cs Mon Aug 20 21:45:16 2012 @@ -70,8 +70,7 @@ namespace Lucene.Net.Spatial.Vector // make sure it has minX and area if (validX.Get(doc) && validY.Get(doc)) { - var pt = new PointImpl(ptX[doc], ptY[doc]); - return enclosingInstance.calculator.Distance(enclosingInstance.from, pt); + return enclosingInstance.calculator.Distance(enclosingInstance.from, ptX[doc], ptY[doc]); } return 0; } Modified: incubator/lucene.net/trunk/test/contrib/Spatial/Contrib.Spatial.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/test/contrib/Spatial/Contrib.Spatial.Test.csproj?rev=1375247&r1=1375246&r2=1375247&view=diff ============================================================================== --- incubator/lucene.net/trunk/test/contrib/Spatial/Contrib.Spatial.Test.csproj (original) +++ incubator/lucene.net/trunk/test/contrib/Spatial/Contrib.Spatial.Test.csproj Mon Aug 20 21:45:16 2012 @@ -120,7 +120,6 @@ -