lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r568358 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs
Date Wed, 22 Aug 2007 01:26:12 GMT
Author: aroush
Date: Tue Aug 21 18:26:11 2007
New Revision: 568358

URL: http://svn.apache.org/viewvc?rev=568358&view=rev
Log:
Fix: LUCENENET-84 "Nunit test for TestMultiFieldQueryParser"

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/BooleanQuery.cs?rev=568358&r1=568357&r2=568358&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs Tue Aug 21 18:26:11
2007
@@ -612,7 +612,7 @@
 				buffer.Append(ToStringUtils.Boost(GetBoost()));
 			}
 			
-			return buffer.ToString();
+            return buffer.ToString().Replace(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator,
".");
 		}
 		
 		/// <summary>Returns true iff <code>o</code> is equal to this. </summary>



Mime
View raw message