Uses of Class
org.apache.solr.search.SyntaxError
-
Packages that use SyntaxError Package Description org.apache.solr.handler.component SearchComponentimplementations for use inSearchHandlerorg.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 ofValueSourcefor 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.search.neural APIs and classes for implementing Neural (Dense Retrieval) QueryParsers.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 org.apache.solr.common.util.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 SolrParamsvoidRangeFacetProcessor. getFacetRangeCounts(RangeFacetRequest rangeFacetRequest, org.apache.solr.common.util.NamedList<Object> resOuter)Returns a list of value constraints and the associated facet counts for each facet range specified by the givenRangeFacetRequestprotected intRangeFacetProcessor. 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.QueryQueryParser. Clause(String field)protected org.apache.lucene.search.QuerySolrQueryParserBase. getBooleanQuery(List<org.apache.lucene.search.BooleanClause> clauses)Factory method for generating query, given a set of clauses.protected org.apache.lucene.search.QuerySolrQueryParserBase. getFieldQuery(String field, String queryText, boolean quoted)protected org.apache.lucene.search.QuerySolrQueryParserBase. getFieldQuery(String field, String queryText, boolean quoted, boolean raw)protected org.apache.lucene.search.QuerySolrQueryParserBase. getFieldQuery(String field, String queryText, int slop)Base implementation delegates toSolrQueryParserBase.getFieldQuery(String,String,boolean,boolean).protected org.apache.lucene.search.QuerySolrQueryParserBase. getFieldQuery(String field, List<String> queryTerms, boolean raw)protected org.apache.lucene.search.QuerySolrQueryParserBase. getFuzzyQuery(String field, String termStr, float minSimilarity)protected org.apache.lucene.search.QuerySolrQueryParserBase. getLocalParams(String qfield, String lparams)protected org.apache.lucene.search.QuerySolrQueryParserBase. getPrefixQuery(String field, String termStr)protected org.apache.lucene.search.QuerySolrQueryParserBase. getRangeQuery(String field, String part1, String part2, boolean startInclusive, boolean endInclusive)protected org.apache.lucene.search.QuerySolrQueryParserBase. getRangeQueryImpl(String field, String part1, String part2, boolean startInclusive, boolean endInclusive)protected org.apache.lucene.search.QuerySolrQueryParserBase. getRegexpQuery(String field, String termStr)protected org.apache.lucene.search.QuerySolrQueryParserBase. getWildcardQuery(String field, String termStr)voidQueryParser. MultiTerm(String field, List<org.apache.lucene.search.BooleanClause> clauses)protected org.apache.lucene.search.QueryQueryParser. 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.QuerySolrQueryParserBase. newFieldQuery(org.apache.lucene.analysis.Analyzer analyzer, String field, String queryText, boolean quoted, boolean fieldAutoGenPhraseQueries, boolean fieldEnableGraphQueries, SolrQueryParserBase.SynonymQueryStyle synonymQueryStyle)org.apache.lucene.search.QuerySolrQueryParserBase. parse(String query)Parses a query string, returning aQuery.org.apache.lucene.search.QueryQueryParser. Query(String field)org.apache.lucene.search.QueryQueryParser. Term(String field)org.apache.lucene.search.QueryQueryParser. TopLevelQuery(String field)abstract org.apache.lucene.search.QuerySolrQueryParserBase. 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 DocSetSimpleFacets. computeDocSet(DocSet baseDocSet, List<String> excludeTagList)org.apache.solr.common.util.NamedList<Object>SimpleFacets. getFacetFieldCounts()Returns a list of value constraints and the associated facet counts for each facet field specified in the params.org.apache.solr.common.util.NamedList<Object>SimpleFacets. getFacetIntervalCounts()Returns aNamedListwith each entry having the "key" of the interval as name and the count of docs in that interval as value.voidSimpleFacets. getFacetQueryCount(SimpleFacets.ParsedParams parsed, org.apache.solr.common.util.NamedList<Integer> res)org.apache.solr.common.util.NamedList<Integer>SimpleFacets. getFacetQueryCounts()Returns a list of facet counts for each of the facet queries specified in the paramsorg.apache.solr.common.util.NamedList<Object>SimpleFacets. getHeatmapCounts()protected SimpleFacets.ParsedParamsSimpleFacets. 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, org.apache.solr.common.params.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 voidDisMaxQParser. addBoostFunctions(org.apache.lucene.search.BooleanQuery.Builder query, org.apache.solr.common.params.SolrParams solrParams)protected voidDisMaxQParser. addBoostQuery(org.apache.lucene.search.BooleanQuery.Builder query, org.apache.solr.common.params.SolrParams solrParams)voidGrouping. addFieldCommand(String field, SolrQueryRequest request)Adds a field command based on the specified field.voidGrouping. addFunctionCommand(String groupByStr, SolrQueryRequest request)protected booleanDisMaxQParser. addMainQuery(org.apache.lucene.search.BooleanQuery.Builder query, org.apache.solr.common.params.SolrParams solrParams)Adds the main query to the query argument.protected voidExtendedDismaxQParser. 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 parametersvoidGrouping. addQueryCommand(String groupByStr, SolrQueryRequest request)protected voidExtendedDismaxQParser. 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 booleanFunctionQParser. consumeArgumentDelimiter()Consume an argument delimiter (a comma) from the token stream.voidStrParser. expect(String s)protected org.apache.lucene.search.QueryExtendedDismaxQParser.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.QueryExtendedDismaxQParser.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.QueryDisMaxQParser. getAlternateUserQuery(org.apache.solr.common.params.SolrParams solrParams)protected org.apache.lucene.search.QueryExtendedDismaxQParser.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.QueryExtendedDismaxQParser.ExtendedSolrQueryParser. getFieldQuery(String field, String val, boolean quoted, boolean raw)protected org.apache.lucene.search.QueryExtendedDismaxQParser.ExtendedSolrQueryParser. getFieldQuery(String field, String val, int slop)protected org.apache.lucene.search.QueryExtendedDismaxQParser.ExtendedSolrQueryParser. getFieldQuery(String field, List<String> queryTerms, boolean raw)protected org.apache.lucene.search.QueryExtendedDismaxQParser.ExtendedSolrQueryParser. getFuzzyQuery(String field, String val, float minSimilarity)StringStrParser. getGlobbedId(String errMessage)org.apache.lucene.search.QueryDisMaxQParser. getHighlightQuery()org.apache.lucene.search.QueryExtendedDismaxQParser. getHighlightQuery()org.apache.lucene.search.QueryQParser. getHighlightQuery()StringStrParser. getId()StringStrParser. getId(String errMessage)static org.apache.solr.common.params.SolrParamsQueryParsing. getLocalParams(String txt, org.apache.solr.common.params.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 QParserQParser. getParser(String qstr, String parserName, boolean allowLocalParams, SolrQueryRequest req)Expert: Create aQParserto parseqstrusing theparserNameparser, while allowing a toggle for whether local-params may be parsed.static QParserQParser. getParser(String qstr, String defaultParser, SolrQueryRequest req)static QParserQParser. getParser(String qstr, SolrQueryRequest req)Create aQParserto parseqstr, using the "lucene" (QParserPlugin.DEFAULT_QTYPE) query parser.protected org.apache.lucene.search.QueryDisMaxQParser. getPhraseQuery(String userQuery, SolrPluginUtils.DisjunctionMaxQueryParser pp)protected org.apache.lucene.search.QueryExtendedDismaxQParser.ExtendedSolrQueryParser. getPrefixQuery(String field, String val)protected List<org.apache.lucene.search.Query>ExtendedDismaxQParser.ExtendedSolrQueryParser. getQueries(ExtendedDismaxQParser.ExtendedSolrQueryParser.Alias a)org.apache.lucene.search.QueryQParser. getQuery()Returns the resulting query from this QParser, calling parse() only the first time and caching the Query result.StringStrParser. getQuotedString()protected org.apache.lucene.search.QueryExtendedDismaxQParser.ExtendedSolrQueryParser. getRangeQuery(String field, String a, String b, boolean startInclusive, boolean endInclusive)BooleanStrParser. getSortDirection()Sort direction or null if current position does not indicate a sort direction.SortSpecQParser. getSortSpec(boolean useGlobalParams)protected org.apache.lucene.search.QueryDisMaxQParser. getUserQuery(String userQuery, SolrPluginUtils.DisjunctionMaxQueryParser up, org.apache.solr.common.params.SolrParams solrParams)protected org.apache.lucene.search.QueryExtendedDismaxQParser.ExtendedSolrQueryParser. getWildcardQuery(String field, String val)booleanFunctionQParser. hasMoreArguments()Are there more arguments in the argument list being parsed?protected org.apache.lucene.search.QueryExtendedDismaxQParser.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.QueryDisMaxQParser. parse()org.apache.lucene.search.QueryExportQParserPlugin.ExportQParser. parse()org.apache.lucene.search.QueryExtendedDismaxQParser. parse()org.apache.lucene.search.QueryFunctionQParser. parse()org.apache.lucene.search.QueryLuceneQParser. parse()org.apache.lucene.search.QueryMaxScoreQParser. 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.QueryMinHashQParser. parse()abstract org.apache.lucene.search.QueryQParser. parse()Create and return theQueryobject represented byqstr.org.apache.lucene.search.QueryRankQParserPlugin.RankQParser. parse()org.apache.lucene.search.QuerySpatialFilterQParser. parse()abstract org.apache.lucene.queries.function.ValueSourceValueSourceParser. parse(FunctionQParser fp)Parse the user input into a ValueSource.AggValueSourceFunctionQParser. parseAgg(int flags)StringFunctionQParser. parseArg()org.apache.lucene.queries.function.ValueSourceFunctionQParser. parseConstVector(int flags)doubleFunctionQParser. parseDouble()Parse a Doubleprotected org.apache.lucene.search.QueryExtendedDismaxQParser. parseEscapedQuery(ExtendedDismaxQParser.ExtendedSolrQueryParser up, String escapedUserQuery, ExtendedDismaxQParser.ExtendedDismaxConfiguration config)Parses an escaped version of the user's query.static List<org.apache.lucene.search.Query>QueryUtils. parseFilterQueries(SolrQueryRequest req)Parse the filter queries in Solr requestFloatFunctionQParser. parseFloat()Parse a float.StringFunctionQParser. parseId()intFunctionQParser. parseInt()Parse an integerstatic intQueryParsing. parseLocalParams(String txt, int start, org.apache.solr.common.params.ModifiableSolrParams target, org.apache.solr.common.params.SolrParams params)static intQueryParsing. parseLocalParams(String txt, int start, org.apache.solr.common.params.ModifiableSolrParams target, org.apache.solr.common.params.SolrParams params, String startString, char endChar)org.apache.lucene.search.QueryFunctionQParser. parseNestedQuery()static Map<String,Float>DisMaxQParser. parseQueryFields(IndexSchema indexSchema, org.apache.solr.common.params.SolrParams solrParams)UsesSolrPluginUtils.parseFieldBoosts(String)with the 'qf' parameter.org.apache.lucene.queries.function.ValueSourceFunctionQParser. parseValueSource()Parse an individual ValueSource.protected org.apache.lucene.queries.function.ValueSourceFunctionQParser. parseValueSource(boolean doConsumeDelimiter)Parse an individual value source.protected org.apache.lucene.queries.function.ValueSourceFunctionQParser. 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.List<Number>FunctionQParser. parseVector(org.apache.lucene.index.VectorEncoding encoding)QParserQParser. subQuery(String q, String defaultType)Create a new QParser for parsing an embedded sub-queryprotected voidExtendedDismaxQParser. validateQueryFields(ExtendedDismaxQParser.ExtendedSolrQueryParser up)Validate query field names.Constructors in org.apache.solr.search that throw SyntaxError Constructor Description ReRankScaler(String mainScale, String reRankScale, double reRankScaleWeight, ReRankOperator reRankOperator, org.apache.lucene.search.QueryRescorer replaceRescorer, boolean debugQuery) -
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.ValueSourcePercentileAgg.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.ValueSourceGeoDistValueSourceParser. 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.BuilderQueryCommand.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.QueryBlockJoinParentQParser. createQuery(org.apache.lucene.search.Query parentList, org.apache.lucene.search.Query query, String scoreMode)protected org.apache.lucene.search.QueryBlockJoinChildQParser. noClausesQuery()protected org.apache.lucene.search.QueryBlockJoinParentQParser. noClausesQuery()protected org.apache.lucene.search.QueryFiltersQParser. noClausesQuery()org.apache.lucene.queries.function.ValueSourceChildFieldValueSourceParser. parse(FunctionQParser fp)org.apache.lucene.search.QueryCrossCollectionJoinQParser. parse()org.apache.lucene.search.QueryFiltersQParser. parse()org.apache.lucene.search.QueryGraphQueryParser. parse()org.apache.lucene.search.QueryHashRangeQParser. parse()protected org.apache.lucene.search.BooleanQueryFiltersQParser. parseImpl()protected org.apache.lucene.search.QueryBlockJoinParentQParser. parseParentFilter()voidGraphQueryParser. validateFields(String field)protected org.apache.lucene.search.QueryBlockJoinParentQParser. wrapSubordinateClause(org.apache.lucene.search.Query subordinate)protected org.apache.lucene.search.QueryFiltersQParser. wrapSubordinateClause(org.apache.lucene.search.Query subordinate) -
Uses of SyntaxError in org.apache.solr.search.neural
Methods in org.apache.solr.search.neural that throw SyntaxError Modifier and Type Method Description org.apache.lucene.search.QueryKnnQParser. parse() -
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.QuerySolrPluginUtils.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.
-