lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r916543 - in /lucene/java/trunk/contrib: CHANGES.txt queryparser/src/java/org/apache/lucene/queryParser/core/nodes/MatchAllDocsQueryNode.java
Date Fri, 26 Feb 2010 02:41:06 GMT
Author: rmuir
Date: Fri Feb 26 02:41:06 2010
New Revision: 916543

URL: http://svn.apache.org/viewvc?rev=916543&view=rev
Log:
LUCENE-2284: fix MatchAllDocsQueryNode toString() to close its XML tag

Modified:
    lucene/java/trunk/contrib/CHANGES.txt
    lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/MatchAllDocsQueryNode.java

Modified: lucene/java/trunk/contrib/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/CHANGES.txt?rev=916543&r1=916542&r2=916543&view=diff
==============================================================================
--- lucene/java/trunk/contrib/CHANGES.txt (original)
+++ lucene/java/trunk/contrib/CHANGES.txt Fri Feb 26 02:41:06 2010
@@ -51,6 +51,9 @@
 
  * LUCENE-2278: FastVectorHighlighter: Highlighted term is out of alignment
    in multi-valued NOT_ANALYZED field. (Koji Sekiguchi)
+ 
+ * LUCENE-2284: MatchAllDocsQueryNode toString() created an invalid XML tag.
+   (Frank Wesemann via Robert Muir)
    
 API Changes
 

Modified: lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/MatchAllDocsQueryNode.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/MatchAllDocsQueryNode.java?rev=916543&r1=916542&r2=916543&view=diff
==============================================================================
--- lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/MatchAllDocsQueryNode.java
(original)
+++ lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/MatchAllDocsQueryNode.java
Fri Feb 26 02:41:06 2010
@@ -33,7 +33,7 @@
 
   @Override
   public String toString() {
-    return "<matchAllDocs field='*' term='*'>";
+    return "<matchAllDocs field='*' term='*'/>";
   }
 
   public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) {



Mime
View raw message