Deprecate static parse method, to be removed in 2.0. It causes more trouble than it is worth

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@209185 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2005-07-05 02:31:08 +00:00
parent 6e9c0b6f45
commit 77290bc286

View File

@ -118,6 +118,8 @@ public class QueryParser {
* @param field the default field for query terms.
* @param analyzer used to find terms in the query text.
* @throws ParseException if the parsing fails
*
* @deprecated Use an instance of QueryParser and the {@link #parse(String)} method instead.
*/
static public Query parse(String query, String field, Analyzer analyzer)
throws ParseException {