mirror of
https://github.com/apache/lucene.git
synced 2025-03-05 15:59:25 +00:00
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:
parent
6e9c0b6f45
commit
77290bc286
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user