lucene-lucene-net-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [Lucene.Net] svn commit: r1103536 - in /incubator/lucene.net/branches/Lucene.Net_2_9_4g: src/contrib/Spatial/Contrib.Spatial.csproj test/contrib/Spatial/Contrib.Spatial.Test.csproj test/contrib/Spatial/TestCartesian.cs
Date Sun, 15 May 2011 20:24:25 GMT
Author: digy
Date: Sun May 15 20:24:24 2011
New Revision: 1103536

URL: http://svn.apache.org/viewvc?rev=1103536&view=rev
Log:
[LUCENENET-412] Contrib.Spatial

Modified:
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Spatial/Contrib.Spatial.csproj
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/Contrib.Spatial.Test.csproj
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/TestCartesian.cs

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Spatial/Contrib.Spatial.csproj
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Spatial/Contrib.Spatial.csproj?rev=1103536&r1=1103535&r2=1103536&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Spatial/Contrib.Spatial.csproj
(original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Spatial/Contrib.Spatial.csproj
Sun May 15 20:24:24 2011
@@ -9,7 +9,7 @@
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
     <RootNamespace>Lucene.Net.Spatial</RootNamespace>
-    <AssemblyName>Lucene.Net.Contrib.Spatial</AssemblyName>
+    <AssemblyName>Lucene.Net.Spatial</AssemblyName>
     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <FileUpgradeFlags>

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/Contrib.Spatial.Test.csproj
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/Contrib.Spatial.Test.csproj?rev=1103536&r1=1103535&r2=1103536&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/Contrib.Spatial.Test.csproj
(original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/Contrib.Spatial.Test.csproj
Sun May 15 20:24:24 2011
@@ -9,7 +9,7 @@
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
     <RootNamespace>Lucene.Net.Contrib.Spatial.Test</RootNamespace>
-    <AssemblyName>Lucene.Net.Contrib.Spatial.Test</AssemblyName>
+    <AssemblyName>Lucene.Net.Spatial.Test</AssemblyName>
     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <FileUpgradeFlags>

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/TestCartesian.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/TestCartesian.cs?rev=1103536&r1=1103535&r2=1103536&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/TestCartesian.cs
(original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/TestCartesian.cs
Sun May 15 20:24:24 2011
@@ -143,8 +143,8 @@ namespace Lucene.Net.Contrib.Spatial.Tes
 			// Perform the search, using the term query, the distance filter, and the
 			// distance sort
 			TopDocs hits = _searcher.Search(tq, dq.Filter, 1000, sort);
-			int results = hits.totalHits;
-			ScoreDoc[] scoreDocs = hits.scoreDocs;
+			int results = hits.TotalHits;
+			ScoreDoc[] scoreDocs = hits.ScoreDocs;
 
 			// Get a list of distances
 			Dictionary<int, Double> distances = dq.DistanceFilter.Distances;



Mime
View raw message