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

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

    [ https://issues.apache.org/jira/browse/SOLR-7108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576412#comment-14576412 ] 

ASF subversion and git services commented on SOLR-7108:
-------------------------------------------------------

Commit 1684071 from [~ehatcher] in branch 'dev/trunk'
[ https://svn.apache.org/r1684071 ]

SOLR-7108: Change default query used by /admin/ping to not rely on other parameters such as query parser or default field

> 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