lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r569950 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiPhraseQuery.cs
Date Mon, 27 Aug 2007 01:28:56 GMT
Author: aroush
Date: Sun Aug 26 18:28:56 2007
New Revision: 569950

URL: http://svn.apache.org/viewvc?rev=569950&view=rev
Log:
Fix: LUCENENET-92 "NUnite test for QueryParser.TestMultiAnalyzer."

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

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiPhraseQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/MultiPhraseQuery.cs?rev=569950&r1=569949&r2=569950&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiPhraseQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiPhraseQuery.cs Sun Aug 26 18:28:56
2007
@@ -344,9 +344,9 @@
 				{
 					buffer.Append(terms[0].Text());
 				}
-				if (i.MoveNext())
-					buffer.Append(" ");
+				buffer.Append(" ");
 			}
+            buffer.Length--;
 			buffer.Append("\"");
 			
 			if (slop != 0)



Mime
View raw message