Uses of Class
org.apache.solr.search.SyntaxError
-
Packages that use SyntaxError Package Description org.apache.solr.handler.component SearchComponent
implementations for use inSearchHandler
org.apache.solr.parser Solr native variant of the Lucene Classic QueryParserorg.apache.solr.request APIs and classes for dealing with Solr requestsorg.apache.solr.search APIs and classes for parsing and processing search requestsorg.apache.solr.search.facet APIs and classes for the JSON Facet API.org.apache.solr.search.function.distance Solr implementations ofValueSource
for distance based function queries.org.apache.solr.search.grouping.distributed.command Internal classes used to implement distributed result groupingorg.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 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 SolrParamsvoid
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 givenRangeFacetRequest
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 Description org.apache.lucene.search.Query
QueryParser. Clause(String field)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getBooleanQuery(List<org.apache.lucene.search.BooleanClause> clauses)
Factory method for generating query, given a set of clauses.protected org.apache.lucene.search.Query
SolrQueryParserBase. getFieldQuery(String field, String queryText, boolean quoted)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getFieldQuery(String field, String queryText, boolean quoted, boolean raw)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getFieldQuery(String field, String queryText, int slop)
Base implementation delegates toSolrQueryParserBase.getFieldQuery(String,String,boolean,boolean)
.protected org.apache.lucene.search.Query
SolrQueryParserBase. getFieldQuery(String field, List<String> queryTerms, boolean raw)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getFuzzyQuery(String field, String termStr, float minSimilarity)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getLocalParams(String qfield, String lparams)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getPrefixQuery(String field, String termStr)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getRangeQuery(String field, String part1, String part2, boolean startInclusive, boolean endInclusive)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getRangeQueryImpl(String field, String part1, String part2, boolean startInclusive, boolean endInclusive)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getRegexpQuery(String field, String termStr)
protected org.apache.lucene.search.Query
SolrQueryParserBase. getWildcardQuery(String field, String termStr)
void
QueryParser. MultiTerm(String field, List<org.apache.lucene.search.BooleanClause> clauses)
protected org.apache.lucene.search.Query
QueryParser. newFieldQuery(org.apache.lucene.analysis.Analyzer analyzer, String field, String queryText, boolean quoted, boolean fieldAutoGenPhraseQueries, boolean fieldEnableGraphQueries, SolrQueryParserBase.SynonymQueryStyle synonymQueryStyle)
protected org.apache.lucene.search.Query
SolrQueryParserBase. newFieldQuery(org.apache.lucene.analysis.Analyzer analyzer, String field, String queryText, boolean quoted, boolean fieldAutoGenPhraseQueries, boolean fieldEnableGraphQueries, SolrQueryParserBase.SynonymQueryStyle synonymQueryStyle)
org.apache.lucene.search.Query
SolrQueryParserBase. parse(String query)
Parses a query string, returning aQuery
.org.apache.lucene.search.Query
QueryParser. Query(String field)
org.apache.lucene.search.Query
QueryParser. Term(String field)
org.apache.lucene.search.Query
QueryParser. TopLevelQuery(String field)
abstract org.apache.lucene.search.Query
SolrQueryParserBase. TopLevelQuery(String field)
-
Uses of SyntaxError in org.apache.solr.request
Methods in org.apache.solr.request that throw SyntaxError Modifier and Type Method 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 aNamedList
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 paramsNamedList<Object>
SimpleFacets. getHeatmapCounts()
protected SimpleFacets.ParsedParams
SimpleFacets. parseParams(String type, String param)
Constructors in org.apache.solr.request that throw SyntaxError Constructor 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 Description protected void
DisMaxQParser. addBoostFunctions(org.apache.lucene.search.BooleanQuery.Builder query, SolrParams solrParams)
protected void
DisMaxQParser. addBoostQuery(org.apache.lucene.search.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(org.apache.lucene.search.BooleanQuery.Builder query, SolrParams solrParams)
Adds the main query to the query argument.protected void
ExtendedDismaxQParser. addPhraseFieldQueries(org.apache.lucene.search.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 parametersvoid
Grouping. addQueryCommand(String groupByStr, SolrQueryRequest request)
protected void
ExtendedDismaxQParser. addShingledPhraseQueries(org.apache.lucene.search.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 org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. getAliasedMultiTermQuery()
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 org.apache.lucene.search.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 org.apache.lucene.search.Query
DisMaxQParser. getAlternateUserQuery(SolrParams solrParams)
protected org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. getBooleanQuery(List<org.apache.lucene.search.BooleanClause> clauses)
protected List<org.apache.lucene.search.Query>
ExtendedDismaxQParser. getBoostFunctions()
Parses all function queriesprotected List<org.apache.lucene.search.Query>
ExtendedDismaxQParser. getBoostQueries()
Parses all boost queriesprotected org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. getFieldQuery(String field, String val, boolean quoted, boolean raw)
protected org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. getFieldQuery(String field, String val, int slop)
protected org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. getFieldQuery(String field, List<String> queryTerms, boolean raw)
protected org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. getFuzzyQuery(String field, String val, float minSimilarity)
String
StrParser. getGlobbedId(String errMessage)
org.apache.lucene.search.Query
DisMaxQParser. getHighlightQuery()
org.apache.lucene.search.Query
ExtendedDismaxQParser. getHighlightQuery()
org.apache.lucene.search.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<org.apache.lucene.queries.function.ValueSource>
ExtendedDismaxQParser. getMultiplicativeBoosts()
Parses all multiplicative boostsprotected List<org.apache.lucene.search.Query>
ExtendedDismaxQParser.ExtendedSolrQueryParser. getMultiTermQueries(ExtendedDismaxQParser.ExtendedSolrQueryParser.Alias a)
static QParser
QParser. getParser(String qstr, String parserName, boolean allowLocalParams, SolrQueryRequest req)
Expert: Create aQParser
to parseqstr
using theparserName
parser, while allowing a toggle for whether local-params may be parsed.static QParser
QParser. getParser(String qstr, String defaultParser, SolrQueryRequest req)
static QParser
QParser. getParser(String qstr, SolrQueryRequest req)
Create aQParser
to parseqstr
, using the "lucene" (QParserPlugin.DEFAULT_QTYPE) query parser.protected org.apache.lucene.search.Query
DisMaxQParser. getPhraseQuery(String userQuery, SolrPluginUtils.DisjunctionMaxQueryParser pp)
protected org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. getPrefixQuery(String field, String val)
protected List<org.apache.lucene.search.Query>
ExtendedDismaxQParser.ExtendedSolrQueryParser. getQueries(ExtendedDismaxQParser.ExtendedSolrQueryParser.Alias a)
org.apache.lucene.search.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 org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. getRangeQuery(String field, String a, String b, boolean startInclusive, boolean endInclusive)
Boolean
StrParser. getSortDirection()
Sort direction or null if current position does not indicate a sort direction.SortSpec
QParser. getSortSpec(boolean useGlobalParams)
protected org.apache.lucene.search.Query
DisMaxQParser. getUserQuery(String userQuery, SolrPluginUtils.DisjunctionMaxQueryParser up, SolrParams solrParams)
protected org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. getWildcardQuery(String field, String val)
boolean
FunctionQParser. hasMoreArguments()
Are there more arguments in the argument list being parsed?protected org.apache.lucene.search.Query
ExtendedDismaxQParser.ExtendedSolrQueryParser. newFieldQuery(org.apache.lucene.analysis.Analyzer analyzer, String field, String queryText, boolean quoted, boolean fieldAutoGenPhraseQueries, boolean enableGraphQueries, SolrQueryParserBase.SynonymQueryStyle synonymQueryStyle)
org.apache.lucene.search.Query
DisMaxQParser. parse()
org.apache.lucene.search.Query
ExportQParserPlugin.ExportQParser. parse()
org.apache.lucene.search.Query
ExtendedDismaxQParser. parse()
org.apache.lucene.search.Query
FunctionQParser. parse()
org.apache.lucene.search.Query
LuceneQParser. parse()
org.apache.lucene.search.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.org.apache.lucene.search.Query
MinHashQParser. parse()
abstract org.apache.lucene.search.Query
QParser. parse()
Create and return theQuery
object represented byqstr
.org.apache.lucene.search.Query
RankQParserPlugin.RankQParser. parse()
org.apache.lucene.search.Query
SpatialFilterQParser. parse()
abstract org.apache.lucene.queries.function.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 Doubleprotected org.apache.lucene.search.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 integerstatic 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)
org.apache.lucene.search.Query
FunctionQParser. parseNestedQuery()
static Map<String,Float>
DisMaxQParser. parseQueryFields(IndexSchema indexSchema, SolrParams solrParams)
UsesSolrPluginUtils.parseFieldBoosts(String)
with the 'qf' parameter.org.apache.lucene.queries.function.ValueSource
FunctionQParser. parseValueSource()
Parse an individual ValueSource.protected org.apache.lucene.queries.function.ValueSource
FunctionQParser. parseValueSource(boolean doConsumeDelimiter)
Parse an individual value source.protected org.apache.lucene.queries.function.ValueSource
FunctionQParser. parseValueSource(int flags)
List<org.apache.lucene.queries.function.ValueSource>
FunctionQParser. parseValueSourceList()
Parse a list of ValueSource.List<org.apache.lucene.queries.function.ValueSource>
FunctionQParser. parseValueSourceList(int flags)
Parse a list of ValueSource.QParser
QParser. subQuery(String q, String defaultType)
Create a new QParser for parsing an embedded sub-queryprotected void
ExtendedDismaxQParser. validateQueryFields(ExtendedDismaxQParser.ExtendedSolrQueryParser up)
Validate query field names. -
Uses of SyntaxError in org.apache.solr.search.facet
Methods in org.apache.solr.search.facet that throw SyntaxError Modifier and Type Method Description org.apache.lucene.queries.function.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 Description org.apache.lucene.queries.function.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 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 Description protected Map<QParser,org.apache.lucene.search.BooleanClause.Occur>
FiltersQParser. clauses()
protected org.apache.lucene.search.Query
BlockJoinParentQParser. createQuery(org.apache.lucene.search.Query parentList, org.apache.lucene.search.Query query, String scoreMode)
protected org.apache.lucene.search.Query
BlockJoinChildQParser. noClausesQuery()
protected org.apache.lucene.search.Query
BlockJoinParentQParser. noClausesQuery()
protected org.apache.lucene.search.Query
FiltersQParser. noClausesQuery()
org.apache.lucene.queries.function.ValueSource
ChildFieldValueSourceParser. parse(FunctionQParser fp)
org.apache.lucene.search.Query
CrossCollectionJoinQParser. parse()
org.apache.lucene.search.Query
FiltersQParser. parse()
org.apache.lucene.search.Query
GraphQueryParser. parse()
org.apache.lucene.search.Query
HashRangeQParser. parse()
protected org.apache.lucene.search.BooleanQuery
FiltersQParser. parseImpl()
protected org.apache.lucene.search.Query
BlockJoinParentQParser. parseParentFilter()
void
GraphQueryParser. validateFields(String field)
protected org.apache.lucene.search.Query
BlockJoinParentQParser. wrapSubordinateClause(org.apache.lucene.search.Query subordinate)
protected org.apache.lucene.search.Query
FiltersQParser. wrapSubordinateClause(org.apache.lucene.search.Query subordinate)
-
Uses of SyntaxError in org.apache.solr.util
Methods in org.apache.solr.util that throw SyntaxError Modifier and Type Method Description protected org.apache.lucene.search.Query
SolrPluginUtils.DisjunctionMaxQueryParser. getFieldQuery(String field, String queryText, boolean quoted, boolean raw)
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<org.apache.lucene.search.Query>
SolrPluginUtils. parseQueryStrings(SolrQueryRequest req, String[] queries)
Turns an array of query strings into a List of Query objects.
-