## Uses of Class
org.apache.lucene.queryParser.QueryParser

- Packages that use QueryParser
  Package | Description
  --- | ---
  org.apache.lucene.queryParser | A simple query parser implemented with JavaCC.
  org.apache.lucene.queryParser.analyzing | QueryParser that passes Fuzzy-, Prefix-, Range-, and WildcardQuerys through the given analyzer.
  org.apache.lucene.queryParser.complexPhrase | QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"
  org.apache.lucene.xmlparser | Parser that produces Lucene Query objects from XML streams.
  org.apache.lucene.xmlparser.builders |

- - ### Uses of QueryParser in org.apache.lucene.queryParser

    Subclasses of QueryParser in org.apache.lucene.queryParser
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MultiFieldQueryParser` A QueryParser which constructs queries to search multiple fields.

  - ### Uses of QueryParser in org.apache.lucene.queryParser.analyzing

    Subclasses of QueryParser in org.apache.lucene.queryParser.analyzing
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AnalyzingQueryParser` Overrides Lucene's default QueryParser so that Fuzzy-, Prefix-, Range-, and WildcardQuerys are also passed through the given analyzer, but wild card characters (like `*`) don't get removed from the search terms.

  - ### Uses of QueryParser in org.apache.lucene.queryParser.complexPhrase

    Subclasses of QueryParser in org.apache.lucene.queryParser.complexPhrase
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ComplexPhraseQueryParser` QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*".

  - ### Uses of QueryParser in org.apache.lucene.xmlparser

    Fields in org.apache.lucene.xmlparser declared as QueryParser
    Modifier and Type | Field and Description
    --- | ---
    `protected QueryParser` | CoreParser.`parser`

    Constructors in org.apache.lucene.xmlparser with parameters of type QueryParser
    Constructor and Description
    `CoreParser(Analyzer analyzer, QueryParser parser)` Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronised on this parser
    `CoreParser(java.lang.String defaultField, Analyzer analyzer, QueryParser parser)`
    `CorePlusExtensionsParser(Analyzer analyzer, QueryParser parser)` Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parser

  - ### Uses of QueryParser in org.apache.lucene.xmlparser.builders

    Methods in org.apache.lucene.xmlparser.builders that return QueryParser
    Modifier and Type | Method and Description
    --- | ---
    `protected QueryParser` | UserInputQueryBuilder.`createQueryParser(java.lang.String fieldName, Analyzer analyzer)` Method to create a QueryParser - designed to be overridden

    Constructors in org.apache.lucene.xmlparser.builders with parameters of type QueryParser
    Constructor and Description
    `UserInputQueryBuilder(QueryParser parser)` This constructor has the disadvantage of not being able to change choice of default field name

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