railo.runtime.search.lucene2.query
Class QueryParser
java.lang.Object
railo.runtime.search.lucene2.query.QueryParser
public final class QueryParser
- extends Object
The simple query is the default query type and is appropriate for the vast majority of searches.
When entering text on a search form, you perform a simple query by entering a word or comma-delimited strings,
with optional wildcard characters.
Verity treats each comma as a logical OR. If you omit the commas, Verity treats the expression as a phrase.
QueryParser
public QueryParser()
parse
public String parse(String criteria)
- parse given string query
- Parameters:
criteria
-
- Returns:
- matching Query
parseOp
public Op parseOp(String criteria)
register
public Literal register(Literal literal)
getLiteralSearchedTerms
public Literal[] getLiteralSearchedTerms()
getStringSearchedTerms
public String[] getStringSearchedTerms()
Copyright © 2012 Railo