[
https://issues.apache.org/jira/browse/SOLR-11800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305583#comment-16305583
]
ASF GitHub Bot commented on SOLR-11800:
---------------------------------------
Github user diegoceccarelli commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/295#discussion_r158969387
--- Diff: solr/core/src/java/org/apache/solr/search/QParser.java ---
@@ -360,6 +360,10 @@ public static QParser getParser(String qstr, String
parserName, boolean allowLoc
}
QParserPlugin qplug = req.getCore().getQueryPlugin(parserName);
+ if (qplug == null){
+ // error: log ?
--- End diff --
I would log an error here, but `QParser` doesn't have a logger, should we
add one?
> Improve error message when parsing RankQuery
> --------------------------------------------
>
> Key: SOLR-11800
> URL: https://issues.apache.org/jira/browse/SOLR-11800
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Diego Ceccarelli
> Priority: Minor
>
> When a user specifies something wrong for the parameter {{rq}} sometimes it
> is hard to understand where is the problem, this patch attempts to improve
> the error message returned in the response.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]