public interface QueryCreator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
constructQuery(Field field,
SearchExpression expression)
Constructs query by parsing the query string, using field as default field.
|
org.apache.lucene.search.Query |
constructQuery(Field field,
java.lang.String query,
SearchType type)
Deprecated.
Use
constructQuery(Field, SearchExpression) instead. |
org.apache.lucene.search.Query |
constructQuery(java.lang.String field,
java.lang.String query)
Deprecated.
Use
constructQuery(Field, SearchExpression) instead. |
IndexerField |
selectIndexerField(Field field,
SearchType type)
Performs a selection of the appropriate IndexerField belonging to proper Field.
|
IndexerField selectIndexerField(Field field, SearchType type)
field
- type
- org.apache.lucene.search.Query constructQuery(Field field, SearchExpression expression) throws org.apache.lucene.queryparser.classic.ParseException
field
- query
- type
- org.apache.lucene.queryparser.classic.ParseException
- if query parsing is unsuccessful.org.apache.lucene.search.Query constructQuery(Field field, java.lang.String query, SearchType type) throws org.apache.lucene.queryparser.classic.ParseException
constructQuery(Field, SearchExpression)
instead.field
- query
- type
- org.apache.lucene.queryparser.classic.ParseException
- if query parsing is unsuccessful.org.apache.lucene.search.Query constructQuery(java.lang.String field, java.lang.String query)
constructQuery(Field, SearchExpression)
instead.field
- query
-