Skip to content

Apache Lucene open-source search software

slightly improve javadoc of toString(String)

Daniel Naber891b25d92c51
diff --git a/src/java/org/apache/lucene/search/Query.java b/src/java/org/apache/lucene/search/Query.java
index c8183add863..42bfd37babf 100644
--- a/src/java/org/apache/lucene/search/Query.java
+++ b/src/java/org/apache/lucene/search/Query.java
@@ -58,8 +58,9 @@ public abstract class Query implements java.io.Serializable, Cloneable {
*/
public float getBoost() { return boost; }
- /** Prints a query to a string, with <code>field</code> as the default field
- * for terms. <p>The representation used is one that is supposed to be readable
+ /** Prints a query to a string, with <code>field</code> assumed to be the
+ * default field and ommitted.
+ * <p>The representation used is one that is supposed to be readable
* by {@link org.apache.lucene.queryParser.QueryParser QueryParser}. However,
* there are the following limitations:
* <ul>