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

Erik Hatcher commented on SOLR-8698:
------------------------------------

[~noble.paul] sweet!  this will allow the workaround in example/files 
solrconfig.xml for /browse and the appended parameter.

> 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