|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.queryParser.QueryParser
org.apache.lucene.gdata.search.query.GDataQueryParser
public class GDataQueryParser
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.lucene.queryParser.QueryParser |
|---|
QueryParser.Operator |
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.queryParser.QueryParser |
|---|
AND_OPERATOR, jj_nt, lookingAhead, OR_OPERATOR, token, token_source |
| Fields inherited from interface org.apache.lucene.queryParser.QueryParserConstants |
|---|
_ESCAPED_CHAR, _NUM_CHAR, _TERM_CHAR, _TERM_START_CHAR, _WHITESPACE, AND, Boost, CARAT, COLON, DEFAULT, EOF, FUZZY_SLOP, LPAREN, MINUS, NOT, NUMBER, OR, PLUS, PREFIXTERM, QUOTED, RangeEx, RANGEEX_END, RANGEEX_GOOP, RANGEEX_QUOTED, RANGEEX_START, RANGEEX_TO, RangeIn, RANGEIN_END, RANGEIN_GOOP, RANGEIN_QUOTED, RANGEIN_START, RANGEIN_TO, RPAREN, STAR, TERM, tokenImage, WILDTERM |
| Constructor Summary | |
|---|---|
GDataQueryParser(IndexSchema schema)
Creates a new QueryParser instance and sets the default operator to Operator#AND. |
|
GDataQueryParser(String field,
Analyzer analyzer)
Creates a new QueryParser instance and sets the default operator to Operator#AND |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GDataQueryParser(String field,
Analyzer analyzer)
Operator#AND
field - -
the parser fieldanalyzer - -
the parser analyzerpublic GDataQueryParser(IndexSchema schema)
Operator#AND. The parser will use
IndexSchema.getDefaultSearchField() as the field and
IndexSchema.getSchemaAnalyzer() as the analyzer.
schema - -
the schema to set the default fields
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||