lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r940957 - /lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Index/SegmentTermVector.cs
Date Tue, 04 May 2010 17:01:45 GMT
Author: digy
Date: Tue May  4 17:01:45 2010
New Revision: 940957

URL: http://svn.apache.org/viewvc?rev=940957&view=rev
Log:
backport of lost LUCENENET-183 patch to 2.9.1 

Modified:
    lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Index/SegmentTermVector.cs

Modified: lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Index/SegmentTermVector.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Index/SegmentTermVector.cs?rev=940957&r1=940956&r2=940957&view=diff
==============================================================================
--- lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Index/SegmentTermVector.cs (original)
+++ lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Index/SegmentTermVector.cs Tue
May  4 17:01:45 2010
@@ -80,7 +80,7 @@ namespace Lucene.Net.Index
 		{
 			if (terms == null)
 				return - 1;
-			int res = System.Array.BinarySearch(terms, termText);
+            int res = System.Array.BinarySearch(terms, termText, System.StringComparer.Ordinal);
 			return res >= 0?res:- 1;
 		}
 		



Mime
View raw message