Uses of Class
org.apache.lucene.queryparser.classic.ParseException
Package
Description
A simple query parser implemented with JavaCC.
QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"
Extendable QueryParser provides a simple and flexible extension mechanism by overloading query
field names.
-
Uses of ParseException in org.apache.lucene.queryparser.classic
Modifier and TypeMethodDescriptionfinal Query
final int
QueryParser.Conjunction()
protected Query
QueryParserBase.getBooleanQuery
(List<BooleanClause> clauses) Factory method for generating query, given a set of clauses.protected Query
MultiFieldQueryParser.getFieldQuery
(String field, String queryText, boolean quoted) protected Query
MultiFieldQueryParser.getFieldQuery
(String field, String queryText, int slop) protected Query
QueryParserBase.getFieldQuery
(String field, String queryText, boolean quoted) protected Query
QueryParserBase.getFieldQuery
(String field, String queryText, int slop) Base implementation delegates toQueryParserBase.getFieldQuery(String,String,boolean)
.protected Query
MultiFieldQueryParser.getFuzzyQuery
(String field, String termStr, float minSimilarity) protected Query
QueryParserBase.getFuzzyQuery
(String field, String termStr, float minSimilarity) Factory method for generating a query (similar toQueryParserBase.getWildcardQuery(java.lang.String, java.lang.String)
).protected Query
MultiFieldQueryParser.getMultiFieldQuery
(List<Query> queries) Creates a multifield queryprotected Query
MultiFieldQueryParser.getPrefixQuery
(String field, String termStr) protected Query
QueryParserBase.getPrefixQuery
(String field, String termStr) Factory method for generating a query (similar toQueryParserBase.getWildcardQuery(java.lang.String, java.lang.String)
).protected Query
MultiFieldQueryParser.getRangeQuery
(String field, String part1, String part2, boolean startInclusive, boolean endInclusive) protected Query
QueryParserBase.getRangeQuery
(String field, String part1, String part2, boolean startInclusive, boolean endInclusive) protected Query
MultiFieldQueryParser.getRegexpQuery
(String field, String termStr) protected Query
QueryParserBase.getRegexpQuery
(String field, String termStr) Factory method for generating a query.protected Query
MultiFieldQueryParser.getWildcardQuery
(String field, String termStr) protected Query
QueryParserBase.getWildcardQuery
(String field, String termStr) Factory method for generating a query.final int
QueryParser.Modifiers()
final Query
QueryParser.MultiTerm
(String field, List<BooleanClause> clauses) Returns the first query if splitOnWhitespace=true or otherwise the entire produced queryprotected Query
QueryParserBase.newFieldQuery
(Analyzer analyzer, String field, String queryText, boolean quoted) static Query
Parses a query which searches on the fields specified.static Query
MultiFieldQueryParser.parse
(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.static Query
MultiFieldQueryParser.parse
(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.Parses a query string, returning aQuery
.final Query
final Query
final Query
QueryParser.TopLevelQuery
(String field) abstract Query
QueryParserBase.TopLevelQuery
(String field) -
Uses of ParseException in org.apache.lucene.queryparser.complexPhrase
Modifier and TypeMethodDescriptionprotected Query
ComplexPhraseQueryParser.getFuzzyQuery
(String field, String termStr, float minSimilarity) protected Query
ComplexPhraseQueryParser.getRangeQuery
(String field, String part1, String part2, boolean startInclusive, boolean endInclusive) protected Query
ComplexPhraseQueryParser.getWildcardQuery
(String field, String termStr) -
Uses of ParseException in org.apache.lucene.queryparser.ext
Modifier and TypeMethodDescriptionprotected Query
ExtendableQueryParser.getFieldQuery
(String field, String queryText, boolean quoted) abstract Query
ParserExtension.parse
(ExtensionQuery query) Processes the givenExtensionQuery
and returns a correspondingQuery
instance.