## Uses of Class
org.apache.lucene.queryparser.classic.ParseException

- Packages that use ParseException
  Package | Description
  --- | ---
  org.apache.lucene.queryparser.analyzing | QueryParser that passes Fuzzy-, Prefix-, Range-, and WildcardQuerys through the given analyzer.
  org.apache.lucene.queryparser.classic | A simple query parser implemented with JavaCC.
  org.apache.lucene.queryparser.complexPhrase | QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"
  org.apache.lucene.queryparser.ext | Extendable QueryParser provides a simple and flexible extension mechanism by overloading query field names.

- - ### Uses of ParseException in org.apache.lucene.queryparser.analyzing

    Methods in org.apache.lucene.queryparser.analyzing that throw ParseException
    Modifier and Type | Method and Description
    --- | ---
    `protected Query` | AnalyzingQueryParser.`getFuzzyQuery(String field, String termStr, float minSimilarity)` Called when parser parses an input term that has the fuzzy suffix (~) appended.
    `protected Query` | AnalyzingQueryParser.`getPrefixQuery(String field, String termStr)` Called when parser parses an input term that uses prefix notation; that is, contains a single '*' wildcard character as its last character.
    `protected Query` | AnalyzingQueryParser.`getWildcardQuery(String field, String termStr)` Called when parser parses an input term that contains one or more wildcard characters (like `*`), but is not a prefix term (one that has just a single `*` character at the end).

  - ### Uses of ParseException in org.apache.lucene.queryparser.classic

    Methods in org.apache.lucene.queryparser.classic that return ParseException
    Modifier and Type | Method and Description
    --- | ---
    `ParseException` | QueryParser.`generateParseException()` Generate ParseException.

    Methods in org.apache.lucene.queryparser.classic that throw ParseException
    Modifier and Type | Method and Description
    --- | ---
    `Query` | QueryParser.`Clause(String field)`
    `int` | QueryParser.`Conjunction()`
    `protected Query` | QueryParserBase.`getBooleanQuery(List<BooleanClause> clauses)` Factory method for generating query, given a set of clauses.
    `protected Query` | QueryParserBase.`getFieldQuery(String field, String queryText, boolean quoted)`
    `protected Query` | MultiFieldQueryParser.`getFieldQuery(String field, String queryText, boolean quoted)`
    `protected Query` | QueryParserBase.`getFieldQuery(String field, String queryText, int slop)` Base implementation delegates to `QueryParserBase.getFieldQuery(String,String,boolean)`.
    `protected Query` | MultiFieldQueryParser.`getFieldQuery(String field, String queryText, int slop)`
    `protected Query` | QueryParserBase.`getFuzzyQuery(String field, String termStr, float minSimilarity)` Factory method for generating a query (similar to `QueryParserBase.getWildcardQuery(java.lang.String, java.lang.String)`).
    `protected Query` | MultiFieldQueryParser.`getFuzzyQuery(String field, String termStr, float minSimilarity)`
    `protected Query` | MultiFieldQueryParser.`getMultiFieldQuery(List<Query> queries)` Creates a multifield query
    `protected Query` | QueryParserBase.`getPrefixQuery(String field, String termStr)` Factory method for generating a query (similar to `QueryParserBase.getWildcardQuery(java.lang.String, java.lang.String)`).
    `protected Query` | MultiFieldQueryParser.`getPrefixQuery(String field, String termStr)`
    `protected Query` | QueryParserBase.`getRangeQuery(String field, String part1, String part2, boolean startInclusive, boolean endInclusive)`
    `protected Query` | MultiFieldQueryParser.`getRangeQuery(String field, String part1, String part2, boolean startInclusive, boolean endInclusive)`
    `protected Query` | QueryParserBase.`getRegexpQuery(String field, String termStr)` Factory method for generating a query.
    `protected Query` | MultiFieldQueryParser.`getRegexpQuery(String field, String termStr)`
    `protected Query` | QueryParserBase.`getWildcardQuery(String field, String termStr)` Factory method for generating a query.
    `protected Query` | MultiFieldQueryParser.`getWildcardQuery(String field, String termStr)`
    `int` | QueryParser.`Modifiers()`
    `Query` | QueryParser.`MultiTerm(String field, List<BooleanClause> clauses)` Returns the first query if splitOnWhitespace=true or otherwise the entire produced query
    `protected Query` | QueryParserBase.`newFieldQuery(Analyzer analyzer, String field, String queryText, boolean quoted)`
    `Query` | QueryParserBase.`parse(String query)` Parses a query string, returning a `Query`.
    `static Query` | MultiFieldQueryParser.`parse(String[] queries, String[] fields, Analyzer analyzer)` 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.
    `Query` | QueryParser.`Query(String field)`
    `Query` | QueryParser.`Term(String field)`
    `abstract Query` | QueryParserBase.`TopLevelQuery(String field)`
    `Query` | QueryParser.`TopLevelQuery(String field)`

  - ### Uses of ParseException in org.apache.lucene.queryparser.complexPhrase

    Methods in org.apache.lucene.queryparser.complexPhrase that throw ParseException
    Modifier and Type | Method and Description
    --- | ---
    `protected 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)`
    `Query` | ComplexPhraseQueryParser.`parse(String query)`

  - ### Uses of ParseException in org.apache.lucene.queryparser.ext

    Methods in org.apache.lucene.queryparser.ext that throw ParseException
    Modifier and Type | Method and Description
    --- | ---
    `protected Query` | ExtendableQueryParser.`getFieldQuery(String field, String queryText, boolean quoted)`
    `abstract Query` | ParserExtension.`parse(ExtensionQuery query)` Processes the given `ExtensionQuery` and returns a corresponding `Query` instance.

Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.