Mercurial Hosting > luan
diff src/goodjava/lucene/queryparser/SynonymParser.java @ 1459:b04b8fc5f4f4
GoodQueryParser
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 20 Mar 2020 11:06:53 -0600 |
parents | 6b6c11c9164e |
children |
line wrap: on
line diff
--- a/src/goodjava/lucene/queryparser/SynonymParser.java Fri Mar 20 10:58:53 2020 -0600 +++ b/src/goodjava/lucene/queryparser/SynonymParser.java Fri Mar 20 11:06:53 2020 -0600 @@ -21,7 +21,7 @@ return synonymMap.get(query); } - public Query getQuery(SaneQueryParser qp,String field,String query) throws ParseException { + public Query getQuery(GoodQueryParser qp,String field,String query) throws ParseException { String[] synonyms = getSynonyms(query); if( synonyms == null ) return fp.getQuery(qp,field,query); @@ -33,11 +33,11 @@ return bq; } - public Query getRangeQuery(SaneQueryParser qp,String field,String minQuery,String maxQuery,boolean includeMin,boolean includeMax) throws ParseException { + public Query getRangeQuery(GoodQueryParser qp,String field,String minQuery,String maxQuery,boolean includeMin,boolean includeMax) throws ParseException { return fp.getRangeQuery(qp,field,minQuery,maxQuery,includeMin,includeMax); } - public SortField getSortField(SaneQueryParser qp,String field,boolean reverse) throws ParseException { + public SortField getSortField(GoodQueryParser qp,String field,boolean reverse) throws ParseException { return fp.getSortField(qp,field,reverse); } }