lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r890209 - /incubator/lucene.net/trunk/C#/contrib/Spatial.Net/Tests/TestCartesian.cs
Date Mon, 14 Dec 2009 07:47:42 GMT
Author: digy
Date: Mon Dec 14 07:47:41 2009
New Revision: 890209

URL: http://svn.apache.org/viewvc?rev=890209&view=rev
Log:
Patch to Spatial.Net for TopDocs.totalHits and TopDocs.scoreDocs

Modified:
    incubator/lucene.net/trunk/C#/contrib/Spatial.Net/Tests/TestCartesian.cs

Modified: incubator/lucene.net/trunk/C#/contrib/Spatial.Net/Tests/TestCartesian.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/contrib/Spatial.Net/Tests/TestCartesian.cs?rev=890209&r1=890208&r2=890209&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/contrib/Spatial.Net/Tests/TestCartesian.cs (original)
+++ incubator/lucene.net/trunk/C#/contrib/Spatial.Net/Tests/TestCartesian.cs Mon Dec 14 07:47:41
2009
@@ -143,8 +143,8 @@
 			// 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