lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccurr...@apache.org
Subject svn commit: r1349061 - /incubator/lucene.net/trunk/src/core/Search/FieldCacheRangeFilter.cs
Date Mon, 11 Jun 2012 22:58:12 GMT
Author: ccurrens
Date: Mon Jun 11 22:58:12 2012
New Revision: 1349061

URL: http://svn.apache.org/viewvc?rev=1349061&view=rev
Log:
[LUCENENET-494] - Port error in FieldcacheRangeFilter.  Changed comparison of sbyte

Modified:
    incubator/lucene.net/trunk/src/core/Search/FieldCacheRangeFilter.cs

Modified: incubator/lucene.net/trunk/src/core/Search/FieldCacheRangeFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/core/Search/FieldCacheRangeFilter.cs?rev=1349061&r1=1349060&r2=1349061&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/core/Search/FieldCacheRangeFilter.cs (original)
+++ incubator/lucene.net/trunk/src/core/Search/FieldCacheRangeFilter.cs Mon Jun 11 22:58:12
2012
@@ -197,7 +197,7 @@ namespace Lucene.Net.Search
                 if (lowerVal != null)
                 {
                     sbyte i = (sbyte)lowerVal;
-                    if (!includeLower && i == byte.MaxValue)
+                    if (!includeLower && i == sbyte.MaxValue)
                         return DocIdSet.EMPTY_DOCIDSET;
                     inclusiveLowerPoint = (sbyte)(includeLower ? i : (i + 1));
                 }



Mime
View raw message