[
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: [email protected]
For additional commands, e-mail: [email protected]