lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7108) Change PingRequestHandler hard-coded troublesome query
Date Fri, 13 Feb 2015 15:03:11 GMT

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

Erik Hatcher commented on SOLR-7108:
------------------------------------

Let's switch the query to something like
{code}
{!lucene}*:*
{code}
so that it will always parse and execute correctly.

> 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
>             Fix For: 5.1
>
>
> 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


Mime
View raw message