## Uses of Class
org.apache.solr.search.SyntaxError

- Packages that use SyntaxError
  Package | Description
  --- | ---
  org.apache.solr.handler.component | `SearchComponent` implementations for use in `SearchHandler`
  org.apache.solr.parser | Solr native variant of the Lucene Classic QueryParser
  org.apache.solr.request | APIs and classes for dealing with Solr requests
  org.apache.solr.search | APIs and classes for parsing and processing search requests
  org.apache.solr.search.facet | APIs and classes for the JSON Facet API.
  org.apache.solr.search.function.distance | Solr implementations of `ValueSource` for distance based function queries.
  org.apache.solr.search.grouping.distributed.command | Internal classes used to implement distributed result grouping
  org.apache.solr.search.join | Classes related to joins.
  org.apache.solr.util | Common utility classes used throughout Solr

- - ### Uses of SyntaxError in org.apache.solr.handler.component

    Methods in org.apache.solr.handler.component that throw SyntaxError
    Modifier and Type | Method and Description
    --- | ---
    `NamedList<Object>` | RangeFacetProcessor.`getFacetRangeCounts()` Returns a list of value constraints and the associated facet counts for each facet numerical field, range, and interval specified in the SolrParams
    `void` | RangeFacetProcessor.`getFacetRangeCounts(RangeFacetRequest rangeFacetRequest, NamedList<Object> resOuter)` Returns a list of value constraints and the associated facet counts for each facet range specified by the given `RangeFacetRequest`
    `protected int` | RangeFacetProcessor.`rangeCount(DocSet subset, RangeFacetRequest rfr, RangeFacetRequest.FacetRange fr)` Macro for getting the numDocs of range over docs

  - ### Uses of SyntaxError in org.apache.solr.parser

    Methods in org.apache.solr.parser that throw SyntaxError
    Modifier and Type | Method and Description
    --- | ---
    `Query` | QueryParser.`Clause(String field)`
    `protected Query` | SolrQueryParserBase.`getBooleanQuery(List<BooleanClause> clauses)` Factory method for generating query, given a set of clauses.
    `protected Query` | SolrQueryParserBase.`getFieldQuery(String field, String queryText, boolean quoted)`
    `protected Query` | SolrQueryParserBase.`getFieldQuery(String field, String queryText, int slop)` Base implementation delegates to `SolrQueryParserBase.getFieldQuery(String,String,boolean)`.
    `protected Query` | SolrQueryParserBase.`getFuzzyQuery(String field, String termStr, float minSimilarity)`
    `protected Query` | SolrQueryParserBase.`getLocalParams(String qfield, String lparams)`
    `protected Query` | SolrQueryParserBase.`getPrefixQuery(String field, String termStr)`
    `protected Query` | SolrQueryParserBase.`getRangeQuery(String field, String part1, String part2, boolean startInclusive, boolean endInclusive)`
    `protected Query` | SolrQueryParserBase.`getRegexpQuery(String field, String termStr)`
    `protected Query` | SolrQueryParserBase.`getWildcardQuery(String field, String termStr)`
    `protected Query` | SolrQueryParserBase.`newFieldQuery(Analyzer analyzer, String field, String queryText, boolean quoted)`
    `Query` | SolrQueryParserBase.`parse(String query)` Parses a query string, returning a `Query`.
    `Query` | QueryParser.`Query(String field)`
    `Query` | QueryParser.`Term(String field)`
    `abstract Query` | SolrQueryParserBase.`TopLevelQuery(String field)`
    `Query` | QueryParser.`TopLevelQuery(String field)`

  - ### Uses of SyntaxError in org.apache.solr.request

    Methods in org.apache.solr.request that throw SyntaxError
    Modifier and Type | Method and Description
    --- | ---
    `protected DocSet` | SimpleFacets.`computeDocSet(DocSet baseDocSet, List<String> excludeTagList)`
    `NamedList<Object>` | SimpleFacets.`getFacetFieldCounts()` Returns a list of value constraints and the associated facet counts for each facet field specified in the params.
    `NamedList<Object>` | SimpleFacets.`getFacetIntervalCounts()` Returns a `NamedList` with each entry having the "key" of the interval as name and the count of docs in that interval as value.
    `void` | SimpleFacets.`getFacetQueryCount(SimpleFacets.ParsedParams parsed, NamedList<Integer> res)`
    `NamedList<Integer>` | SimpleFacets.`getFacetQueryCounts()` Returns a list of facet counts for each of the facet queries specified in the params
    `NamedList` | SimpleFacets.`getHeatmapCounts()`
    `protected SimpleFacets.ParsedParams` | SimpleFacets.`parseParams(String type, String param)`

    Constructors in org.apache.solr.request that throw SyntaxError
    Constructor and Description
    `IntervalFacets(SchemaField schemaField, SolrIndexSearcher searcher, DocSet docs, String[] intervals, SolrParams params)` Constructor that accepts un-parsed intervals using "interval faceting" syntax.

  - ### Uses of SyntaxError in org.apache.solr.search

    Methods in org.apache.solr.search that throw SyntaxError
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | DisMaxQParser.`addBoostFunctions(BooleanQuery.Builder query, SolrParams solrParams)`
    `protected void` | DisMaxQParser.`addBoostQuery(BooleanQuery.Builder query, SolrParams solrParams)`
    `void` | Grouping.`addFieldCommand(String field, SolrQueryRequest request)` Adds a field command based on the specified field.
    `void` | Grouping.`addFunctionCommand(String groupByStr, SolrQueryRequest request)`
    `protected boolean` | DisMaxQParser.`addMainQuery(BooleanQuery.Builder query, SolrParams solrParams)` Adds the main query to the query argument.
    `protected void` | ExtendedDismaxQParser.`addPhraseFieldQueries(BooleanQuery.Builder query, List<ExtendedDismaxQParser.Clause> clauses, ExtendedDismaxQParser.ExtendedDismaxConfiguration config)` Adds shingled phrase queries to all the fields specified in the pf, pf2 anf pf3 parameters
    `void` | Grouping.`addQueryCommand(String groupByStr, SolrQueryRequest request)`
    `protected void` | ExtendedDismaxQParser.`addShingledPhraseQueries(BooleanQuery.Builder mainQuery, List<ExtendedDismaxQParser.Clause> clauses, Collection<FieldParams> fields, int shingleSize, float tiebreaker, int slop)` Modifies the main query by adding a new optional Query consisting of shingled phrase queries across the specified clauses using the specified field => boost mappings.
    `protected boolean` | FunctionQParser.`consumeArgumentDelimiter()` Consume an argument delimiter (a comma) from the token stream.
    `void` | StrParser.`expect(String s)`
    `protected Query` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`getAliasedQuery()` Delegates to the super class unless the field has been specified as an alias -- in which case we recurse on each of the aliased fields, and the results are composed into a DisjunctionMaxQuery.
    `protected Query` | DisMaxQParser.`getAlternateUserQuery(SolrParams solrParams)`
    `protected Query` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`getBooleanQuery(List<BooleanClause> clauses)`
    `protected List<Query>` | ExtendedDismaxQParser.`getBoostFunctions()` Parses all function queries
    `protected List<Query>` | ExtendedDismaxQParser.`getBoostQueries()` Parses all boost queries
    `protected Query` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`getFieldQuery(String field, String val, boolean quoted)`
    `protected Query` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`getFieldQuery(String field, String val, int slop)`
    `protected Query` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`getFuzzyQuery(String field, String val, float minSimilarity)`
    `String` | StrParser.`getGlobbedId(String errMessage)`
    `Query` | DisMaxQParser.`getHighlightQuery()`
    `Query` | ExtendedDismaxQParser.`getHighlightQuery()`
    `Query` | QParser.`getHighlightQuery()`
    `String` | StrParser.`getId()`
    `String` | StrParser.`getId(String errMessage)`
    `static SolrParams` | QueryParsing.`getLocalParams(String txt, SolrParams params)` "foo" returns null "{!prefix f=myfield}yes" returns type="prefix",f="myfield",v="yes" "{!prefix f=myfield v=$p}" returns type="prefix",f="myfield",v=params.get("p")
    `protected List<ValueSource>` | ExtendedDismaxQParser.`getMultiplicativeBoosts()` Parses all multiplicative boosts
    `static QParser` | QParser.`getParser(String qstr, SolrQueryRequest req)` Create a `QParser` to parse `qstr`, using the "lucene" (QParserPlugin.DEFAULT_QTYPE) query parser.
    `static QParser` | QParser.`getParser(String qstr, String defaultParser, SolrQueryRequest req)` Create a `QParser` to parse `qstr`, assuming that the default query parser is `defaultParser`.
    `protected Query` | DisMaxQParser.`getPhraseQuery(String userQuery, SolrPluginUtils.DisjunctionMaxQueryParser pp)`
    `protected Query` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`getPrefixQuery(String field, String val)`
    `protected List<Query>` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`getQueries(ExtendedDismaxQParser.ExtendedSolrQueryParser.Alias a)`
    `Query` | QParser.`getQuery()` Returns the resulting query from this QParser, calling parse() only the first time and caching the Query result.
    `String` | StrParser.`getQuotedString()`
    `protected Query` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`getRangeQuery(String field, String a, String b, boolean startInclusive, boolean endInclusive)`
    `SortSpec` | QParser.`getSort(boolean useGlobalParams)` Deprecated. Use the not misleadingly named getSortSpec() function instead.
    `Boolean` | StrParser.`getSortDirection()` Sort direction or null if current position does not indicate a sort direction.
    `SortSpec` | QParser.`getSortSpec(boolean useGlobalParams)`
    `protected Query` | DisMaxQParser.`getUserQuery(String userQuery, SolrPluginUtils.DisjunctionMaxQueryParser up, SolrParams solrParams)`
    `protected Query` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`getWildcardQuery(String field, String val)`
    `boolean` | FunctionQParser.`hasMoreArguments()` Are there more arguments in the argument list being parsed?
    `protected Query` | ExtendedDismaxQParser.ExtendedSolrQueryParser.`newFieldQuery(Analyzer analyzer, String field, String queryText, boolean quoted)`
    `Query` | ExportQParserPlugin.ExportQParser.`parse()`
    `Query` | DisMaxQParser.`parse()`
    `Query` | MaxScoreQParser.`parse()` Parses the query exactly like the Lucene parser does, but delegates all SHOULD clauses to DisjunctionMaxQuery with meaning only the clause with the max score will contribute to the overall score, unless the tie parameter is specified.
    `Query` | LuceneQParser.`parse()`
    `Query` | ExtendedDismaxQParser.`parse()`
    `Query` | FunctionQParser.`parse()`
    `Query` | SpatialFilterQParser.`parse()`
    `abstract Query` | QParser.`parse()` Create and return the `Query` object represented by `qstr`.
    `abstract ValueSource` | ValueSourceParser.`parse(FunctionQParser fp)` Parse the user input into a ValueSource.
    `AggValueSource` | FunctionQParser.`parseAgg(int flags)`
    `String` | FunctionQParser.`parseArg()`
    `double` | FunctionQParser.`parseDouble()` Parse a Double
    `protected Query` | ExtendedDismaxQParser.`parseEscapedQuery(ExtendedDismaxQParser.ExtendedSolrQueryParser up, String escapedUserQuery, ExtendedDismaxQParser.ExtendedDismaxConfiguration config)` Parses an escaped version of the user's query.
    `Float` | FunctionQParser.`parseFloat()` Parse a float.
    `String` | FunctionQParser.`parseId()`
    `int` | FunctionQParser.`parseInt()` Parse an integer
    `static int` | QueryParsing.`parseLocalParams(String txt, int start, ModifiableSolrParams target, SolrParams params)`
    `static int` | QueryParsing.`parseLocalParams(String txt, int start, ModifiableSolrParams target, SolrParams params, String startString, char endChar)`
    `Query` | FunctionQParser.`parseNestedQuery()`
    `static Map<String,Float>` | DisMaxQParser.`parseQueryFields(IndexSchema indexSchema, SolrParams solrParams)` Uses `SolrPluginUtils.parseFieldBoosts(String)` with the 'qf' parameter.
    `ValueSource` | FunctionQParser.`parseValueSource()` Parse an individual ValueSource.
    `protected ValueSource` | FunctionQParser.`parseValueSource(boolean doConsumeDelimiter)` Parse an individual value source.
    `protected ValueSource` | FunctionQParser.`parseValueSource(int flags)`
    `List<ValueSource>` | FunctionQParser.`parseValueSourceList()` Parse a list of ValueSource.
    `QParser` | QParser.`subQuery(String q, String defaultType)` Create a new QParser for parsing an embedded sub-query

  - ### Uses of SyntaxError in org.apache.solr.search.facet

    Methods in org.apache.solr.search.facet that throw SyntaxError
    Modifier and Type | Method and Description
    --- | ---
    `ValueSource` | PercentileAgg.Parser.`parse(FunctionQParser fp)`

  - ### Uses of SyntaxError in org.apache.solr.search.function.distance

    Methods in org.apache.solr.search.function.distance that throw SyntaxError
    Modifier and Type | Method and Description
    --- | ---
    `ValueSource` | GeoDistValueSourceParser.`parse(FunctionQParser fp)`

  - ### Uses of SyntaxError in org.apache.solr.search.grouping.distributed.command

    Methods in org.apache.solr.search.grouping.distributed.command that throw SyntaxError
    Modifier and Type | Method and Description
    --- | ---
    `QueryCommand.Builder` | QueryCommand.Builder.`setQuery(String groupQueryString, SolrQueryRequest request)` Sets the group query from the specified groupQueryString.

  - ### Uses of SyntaxError in org.apache.solr.search.join

    Methods in org.apache.solr.search.join that throw SyntaxError
    Modifier and Type | Method and Description
    --- | ---
    `protected Query` | BlockJoinParentQParser.`createQuery(Query parentList, Query query, String scoreMode)`
    `Query` | GraphQueryParser.`parse()`
    `Query` | BlockJoinParentQParser.`parse()`

  - ### Uses of SyntaxError in org.apache.solr.util

    Methods in org.apache.solr.util that throw SyntaxError
    Modifier and Type | Method and Description
    --- | ---
    `protected Query` | SolrPluginUtils.DisjunctionMaxQueryParser.`getFieldQuery(String field, String queryText, boolean quoted)` Delegates to the super class unless the field has been specified as an alias -- in which case we recurse on each of the aliased fields, and the results are composed into a DisjunctionMaxQuery.
    `static List<Query>` | SolrPluginUtils.`parseQueryStrings(SolrQueryRequest req, String[] queries)` Turns an array of query strings into a List of Query objects.

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