Mercurial Hosting > luan
comparison src/goodjava/queryparser/FieldParser.java @ 1402:27efb1fcbcb5
move luan.lib to goodjava
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 17 Sep 2019 01:35:01 -0400 |
parents | src/luan/lib/queryparser/FieldParser.java@dc2af9d5463b |
children |
comparison
equal
deleted
inserted
replaced
1401:ef1620aa99cb | 1402:27efb1fcbcb5 |
---|---|
1 package goodjava.queryparser; | |
2 | |
3 import org.apache.lucene.search.Query; | |
4 import org.apache.lucene.search.SortField; | |
5 import goodjava.parser.ParseException; | |
6 | |
7 | |
8 public interface FieldParser { | |
9 public Query getQuery(SaneQueryParser qp,String field,String query) throws ParseException; | |
10 public Query getRangeQuery(SaneQueryParser qp,String field,String minQuery,String maxQuery,boolean includeMin,boolean includeMax) throws ParseException; | |
11 public SortField getSortField(SaneQueryParser qp,String field,boolean reverse) throws ParseException; | |
12 } |