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

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

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

SOLR-8698: params.json can now have appends and invariants as well. 'useParams' 
specified in the requestHandler is always applied


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

Reply via email to