lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (SOLR-2798) Local Param parsing does not support multivalued params
Date Thu, 14 Jan 2016 17:43:40 GMT


ASF GitHub Bot commented on SOLR-2798:

GitHub user demiankatz opened a pull request:

    Resolution for SOLR-2798 (add support for multi-valued localParams)

    Previous to this fix, when using localParams syntax, a repeated parameter would be handled
with a "last value wins" policy. This PR changes the behavior to allow all values of the parameter
to be accepted, which seems like it should be the expected behavior, since many Solr parameters
are intended to be repeatable.

You can merge this pull request into a Git repository by running:

    $ git pull solr-2798-fix

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #216
commit b991e72b04a4de4c35f4fa1dc1338eafb67756d8
Author: Demian Katz <>
Date:   2016-01-13T19:43:13Z

    Allow parseLocalParams to target a ModifiableSolrParams object.
    - Progress on SOLR-2798.

commit 314a58c593de4cf7ed80bffc7b3e8034d17143be
Author: Demian Katz <>
Date:   2016-01-13T20:06:37Z

    Switch calls to parseLocalParams to use ModifiableSolrParams instead of Map.
    - See SOLR-2798.

commit 107f6224aa33edea08a961adcb2e57b2cc96e69e
Author: Demian Katz <>
Date:   2016-01-14T14:12:27Z

    Deprecated obsolete methods; added comments.

commit ed544b6d726e4e79319cfb5808cc3fdfde6e0f26
Author: Demian Katz <>
Date:   2016-01-14T14:51:24Z

    Added higher-level test for localParams fix.


> Local Param parsing does not support multivalued params
> -------------------------------------------------------
>                 Key: SOLR-2798
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Anshum Gupta
> As noted by Demian on the solr-user mailing list, Local Param parsing seems to use a
"last one wins" approach when parsing multivalued params.
> In this example, the value of "111" is completely ignored:
> {code}
> http://localhost:8983/solr/select?debug=query&q={!dismax%20bq=111%20bq=222}foo
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message