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 2016/03/01 05:01:18 UTC

[jira] [Commented] (SOLR-8698) params.json should have a way to specify appends and invariants

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

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

Commit 1734d03eb9f92d53f99b5652e239064519e1ba79 in lucene-solr's branch refs/heads/master from [~noble.paul]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1734d03 ]

SOLR-8698: changes the example config to reflect the new behavior


> params.json should have a way to specify appends and invariants
> ---------------------------------------------------------------
>
>                 Key: SOLR-8698
>                 URL: https://issues.apache.org/jira/browse/SOLR-8698
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 6.0
>
>         Attachments: SOLR-8698.patch
>
>
> params.json only supports defaults today. It should be possible to add {{appends}} and {{invariants}}
> for example
> {code}
> {
> "params":{
> "my_param_set" : {
> "a":"A",
> "b" :"B",
> "_appends_" : {
> "c": "C"
> },
> "_invariants_":{
> "d" : "D"
> }}
> }
> {code}
> In this case variables {{a}} and {{b}} are defaults, {{c}} is appends and {{d}} is invariants
> The fact that we can have invariants and appends means that if a useParam is specified with the component, it should not be overridable from the request
> So, this introduces a back incompat change



--
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