You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Daniel Rall <dl...@finemaltcoding.com> on 2002/01/28 20:36:45 UTC
[PATCH] one last doc patch ;)
This has them all lumped together because diff didn't chunk my last
change.
Corrected link to Query JavaDoc in parse(String, String, Analyzer)
JavaDoc.
Index: QueryParser.jj
===================================================================
RCS file: /home/cvspublic/jakarta-lucene/src/java/org/apache/lucene/queryParser/QueryParser.jj,v
retrieving revision 1.9
diff -u -u -r1.9 QueryParser.jj
--- QueryParser.jj 17 Jan 2002 02:49:22 -0000 1.9
+++ QueryParser.jj 28 Jan 2002 19:34:53 -0000
@@ -94,15 +94,21 @@
* Thus, in BNF, the query grammar is:
* <pre>
* Query ::= ( Clause )*
- * Clause ::= ["+", "-"] [<TERM> ":"] ( <TERM> | "(" Query ")" )
+ * Clause ::= ["+", "-"] [<TERM> ":"] ( <TERM> | "(" Query ")" )
* </pre>
*
+ * <p>
+ * Examples of appropriately formatted queries can be found in the <a
+ * href="http://cvs.apache.org/viewcvs/jakarta-lucene/src/test/org/apache/lucene/queryParser/TestQueryParser.java?rev=1&content-type=text/vnd.viewcvs-markup">test
+ * cases</a>.
+ * </p>
+ *
* @author Brian Goetz
*/
public class QueryParser {
- /** Parses a query string, returning a
- * <a href="lucene.search.Query.html">Query</a>.
+ /** Parses a query string, returning a {@link
+ * org.apache.lucene.search.Query}.
* @param query the query string to be parsed.
* @param field the default field for query terms.
* @param analyzer used to find terms in the query text.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>