Package org.apache.solr.search.join
Class GraphQueryParser
java.lang.Object
org.apache.solr.search.QParser
org.apache.solr.search.join.GraphQueryParser
Solr query parser that will handle parsing graph query requests.
-
Field Summary
Fields inherited from class org.apache.solr.search.QParser
FLAG_FILTER, flags, localParams, localParamsEnd, params, qstr, query, recurseCount, req, stringIncludingLocalParams, valFollowedParams -
Constructor Summary
ConstructorsConstructorDescriptionGraphQueryParser(String qstr, org.apache.solr.common.params.SolrParams localParams, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.Queryparse()Create and return theQueryobject represented byqstr.voidvalidateFields(String field) Methods inherited from class org.apache.solr.search.QParser
addDebugInfo, getDefaultHighlightFields, getFlags, getHighlightQuery, getLocalParams, getParam, getParams, getParser, getParser, getParser, getPrefixQueryMinPrefixLength, getQuery, getReq, getSortSpec, getString, isFilter, parseAsValueSource, setFlags, setIsFilter, setLocalParams, setParams, setReq, setString, subQuery
-
Constructor Details
-
GraphQueryParser
public GraphQueryParser(String qstr, org.apache.solr.common.params.SolrParams localParams, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req)
-
-
Method Details
-
parse
Description copied from class:QParserCreate and return theQueryobject represented byqstr. Null MAY be returned to signify there was no input (e.g. no query string) to parse.- Specified by:
parsein classQParser- Throws:
SyntaxError- See Also:
-
validateFields
- Throws:
SyntaxError
-