org.apache.solr.search

## Class SolrCoreParser

- java.lang.Object
- - org.apache.lucene.queryparser.xml.CoreParser
  - - org.apache.solr.search.SolrCoreParser

- All Implemented Interfaces:
    QueryBuilder, NamedListInitializedPlugin

      public class SolrCoreParser
      extends CoreParser
      implements NamedListInitializedPlugin

  Assembles a QueryBuilder which uses Query objects from Solr's `search` module in addition to Query objects supported by the Lucene `CoreParser`.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected SolrQueryRequest` | `req`

    - ### Fields inherited from class org.apache.lucene.queryparser.xml.CoreParser

      `analyzer, defaultField, parser, queryFactory, spanFactory`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SolrCoreParser(String defaultField, Analyzer analyzer, SolrQueryRequest req)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `init(NamedList initArgs)`

    - ### Methods inherited from class org.apache.lucene.queryparser.xml.CoreParser

      `addQueryBuilder, addSpanBuilder, getQuery, parse`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### req

          protected final SolrQueryRequest req

  - ### Constructor Detail

    - #### SolrCoreParser

          public SolrCoreParser(String defaultField,
                                Analyzer analyzer,
                                SolrQueryRequest req)

  - ### Method Detail

    - #### init

          public void init(NamedList initArgs)

      Specified by:
        `init` in interface `NamedListInitializedPlugin`

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