lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r801336 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs
Date Wed, 05 Aug 2009 17:51:55 GMT
Author: digy
Date: Wed Aug  5 17:51:55 2009
New Revision: 801336

URL: http://svn.apache.org/viewvc?rev=801336&view=rev
Log:
LUCENENET-183 for Lucene.Net 2.4.0

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/SegmentTermVector.cs?rev=801336&r1=801335&r2=801336&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs Wed Aug  5 17:51:55
2009
@@ -78,7 +78,7 @@
 		{
 			if (terms == null)
 				return - 1;
-			int res = System.Array.BinarySearch(terms, termText);
+            int res = System.Array.BinarySearch(terms, termText, StringComparer.Ordinal);
 			return res >= 0 ? res : - 1;
 		}
 		



Mime
View raw message