Mercurial Hosting > luan
diff src/goodjava/lucene/queryparser/MultiFieldParser.java @ 1459:b04b8fc5f4f4
GoodQueryParser
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 20 Mar 2020 11:06:53 -0600 |
parents | 6b6c11c9164e |
children | c6b50b7b958c |
line wrap: on
line diff
--- a/src/goodjava/lucene/queryparser/MultiFieldParser.java Fri Mar 20 10:58:53 2020 -0600 +++ b/src/goodjava/lucene/queryparser/MultiFieldParser.java Fri Mar 20 11:06:53 2020 -0600 @@ -32,7 +32,7 @@ } } - @Override public Query getQuery(SaneQueryParser qp,String field,String query) throws ParseException { + @Override public Query getQuery(GoodQueryParser qp,String field,String query) throws ParseException { if( field == null ) { if( defaultFieldParser == null ) throw qp.exception("no defaults were specified, so a field is required"); @@ -53,7 +53,7 @@ } } - @Override public Query getRangeQuery(SaneQueryParser qp,String field,String minQuery,String maxQuery,boolean includeMin,boolean includeMax) throws ParseException { + @Override public Query getRangeQuery(GoodQueryParser qp,String field,String minQuery,String maxQuery,boolean includeMin,boolean includeMax) throws ParseException { if( field == null ) { if( defaultFieldParser == null ) throw qp.exception("no defaults were specified, so a field is required"); @@ -74,7 +74,7 @@ } } - @Override public SortField getSortField(SaneQueryParser qp,String field,boolean reverse) throws ParseException { + @Override public SortField getSortField(GoodQueryParser qp,String field,boolean reverse) throws ParseException { FieldParser fp = fields.get(field); if( fp != null ) return fp.getSortField(qp,field,reverse);