public interface QueryCreator
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,
String query,
SearchType type)
Deprecated.
Use
constructQuery(Field, SearchExpression) instead. |
org.apache.lucene.search.Query |
constructQuery(String field,
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.
|
static final String ROLE
IndexerField selectIndexerField(Field field, SearchType type)
field
- type
- org.apache.lucene.search.Query constructQuery(Field field, SearchExpression expression) throws org.apache.lucene.queryParser.ParseException
field
- query
- type
- org.apache.lucene.queryParser.ParseException
- if query parsing is unsuccessful.org.apache.lucene.search.Query constructQuery(Field field, String query, SearchType type) throws org.apache.lucene.queryParser.ParseException
constructQuery(Field, SearchExpression)
instead.field
- query
- type
- org.apache.lucene.queryParser.ParseException
- if query parsing is unsuccessful.org.apache.lucene.search.Query constructQuery(String field, String query)
constructQuery(Field, SearchExpression)
instead.field
- query
- Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.