mirror of https://github.com/apache/lucene.git
change QParser.parse to public
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@668716 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0b20b5e658
commit
f2fb573cf1
|
@ -40,7 +40,7 @@ class FooQParser extends QParser {
|
|||
super(qstr, localParams, params, req);
|
||||
}
|
||||
|
||||
protected Query parse() throws ParseException {
|
||||
public Query parse() throws ParseException {
|
||||
return new TermQuery(new Term(localParams.get(QueryParsing.F), localParams.get(QueryParsing.V)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue