You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2015/06/07 22:10:00 UTC

[jira] [Resolved] (SOLR-7108) Change PingRequestHandler hard-coded troublesome query

     [ https://issues.apache.org/jira/browse/SOLR-7108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher resolved SOLR-7108.
--------------------------------
    Resolution: Fixed

resolved.  [~marius_neo] - The query parser is needed to be entirely sure because /admin/ping will use a select handler (defaults /select) to execute the query which could specify defType and cause issues; better safe(r) than sorry.

> Change PingRequestHandler hard-coded troublesome query
> ------------------------------------------------------
>
>                 Key: SOLR-7108
>                 URL: https://issues.apache.org/jira/browse/SOLR-7108
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>             Fix For: Trunk, 5.3
>
>         Attachments: SOLR-7108.patch
>
>
> PingRequestHandler hard-codes this:
> {code}
> ping.initArgs.add(INVARIANTS, new NamedList<>(makeMap("echoParams", "all", "q", "solrpingquery")));
> {code}
> which unnecessarily relies on query parsing settings like default field.  In the case of the basic_configs core this causes a failed request because df isn't set appropriately).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org