Uses of Class
org.apache.lucene.queryparser.classic.ParseException
Packages that use 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
Methods in org.apache.lucene.queryparser.classic that return ParseExceptionMethods in org.apache.lucene.queryparser.classic that throw ParseExceptionModifier and TypeMethodDescriptionfinal Queryfinal intQueryParser.Conjunction()protected QueryQueryParserBase.getBooleanQuery(List<BooleanClause> clauses) Factory method for generating query, given a set of clauses.protected QueryMultiFieldQueryParser.getFieldQuery(String field, String queryText, boolean quoted) protected QueryMultiFieldQueryParser.getFieldQuery(String field, String queryText, int slop) protected QueryQueryParserBase.getFieldQuery(String field, String queryText, boolean quoted) protected QueryQueryParserBase.getFieldQuery(String field, String queryText, int slop) Base implementation delegates toQueryParserBase.getFieldQuery(String,String,boolean).protected QueryMultiFieldQueryParser.getFuzzyQuery(String field, String termStr, float minSimilarity) protected QueryQueryParserBase.getFuzzyQuery(String field, String termStr, float minSimilarity) Factory method for generating a query (similar toQueryParserBase.getWildcardQuery(java.lang.String, java.lang.String)).protected QueryMultiFieldQueryParser.getMultiFieldQuery(List<Query> queries) Creates a multifield queryprotected QueryMultiFieldQueryParser.getPrefixQuery(String field, String termStr) protected QueryQueryParserBase.getPrefixQuery(String field, String termStr) Factory method for generating a query (similar toQueryParserBase.getWildcardQuery(java.lang.String, java.lang.String)).protected QueryMultiFieldQueryParser.getRangeQuery(String field, String part1, String part2, boolean startInclusive, boolean endInclusive) protected QueryQueryParserBase.getRangeQuery(String field, String part1, String part2, boolean startInclusive, boolean endInclusive) protected QueryMultiFieldQueryParser.getRegexpQuery(String field, String termStr) protected QueryQueryParserBase.getRegexpQuery(String field, String termStr) Factory method for generating a query.protected QueryMultiFieldQueryParser.getWildcardQuery(String field, String termStr) protected QueryQueryParserBase.getWildcardQuery(String field, String termStr) Factory method for generating a query.final intQueryParser.Modifiers()final QueryQueryParser.MultiTerm(String field, List<BooleanClause> clauses) Returns the first query if splitOnWhitespace=true or otherwise the entire produced queryprotected QueryQueryParserBase.newFieldQuery(Analyzer analyzer, String field, String queryText, boolean quoted) static QueryParses a query which searches on the fields specified.static QueryMultiFieldQueryParser.parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.static QueryMultiFieldQueryParser.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 Queryfinal Queryfinal QueryQueryParser.TopLevelQuery(String field) abstract QueryQueryParserBase.TopLevelQuery(String field) -
Uses of ParseException in org.apache.lucene.queryparser.complexPhrase
Methods in org.apache.lucene.queryparser.complexPhrase that throw ParseExceptionModifier and TypeMethodDescriptionprotected QueryComplexPhraseQueryParser.getFuzzyQuery(String field, String termStr, float minSimilarity) protected QueryComplexPhraseQueryParser.getRangeQuery(String field, String part1, String part2, boolean startInclusive, boolean endInclusive) protected QueryComplexPhraseQueryParser.getWildcardQuery(String field, String termStr) -
Uses of ParseException in org.apache.lucene.queryparser.ext
Methods in org.apache.lucene.queryparser.ext that throw ParseExceptionModifier and TypeMethodDescriptionprotected QueryExtendableQueryParser.getFieldQuery(String field, String queryText, boolean quoted) abstract QueryParserExtension.parse(ExtensionQuery query) Processes the givenExtensionQueryand returns a correspondingQueryinstance.