lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r887885 - in /incubator/lucene.net/trunk/C#/src/Test/Search: QueryUtils.cs TestDisjunctionMaxQuery.cs
Date Mon, 07 Dec 2009 11:12:38 GMT
Author: digy
Date: Mon Dec  7 11:12:38 2009
New Revision: 887885

URL: http://svn.apache.org/viewvc?rev=887885&view=rev
Log:
LUCENENET-318 TestDisjunctionMaxQuery.TestBooleanOptionalWithTiebreaker failure

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Search/QueryUtils.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/QueryUtils.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/QueryUtils.cs?rev=887885&r1=887884&r2=887885&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/QueryUtils.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/QueryUtils.cs Mon Dec  7 11:12:38 2009
@@ -419,7 +419,7 @@
 		private static void  CheckFirstSkipTo(Query q, IndexSearcher s)
 		{
 			//System.out.println("checkFirstSkipTo: "+q);
-			float maxDiff = 1e-5f;
+            float maxDiff = 1e-4f; //{{Lucene.Net-2.9.1}}Intentional diversion from Java
Lucene
 			int[] lastDoc = new int[]{- 1};
 			s.Search(q, new AnonymousClassCollector1(lastDoc, q, s, maxDiff));
 			

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestDisjunctionMaxQuery.cs?rev=887885&r1=887884&r2=887885&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs Mon Dec  7 11:12:38
2009
@@ -48,7 +48,7 @@
 		}
 		
 		/// <summary>threshold for comparing floats </summary>
-		public const float SCORE_COMP_THRESH = 0.0000f;
+        public const float SCORE_COMP_THRESH = 0.000001f;
 		
 		/// <summary> Similarity to eliminate tf, idf and lengthNorm effects to
 		/// isolate test case.



Mime
View raw message