lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-8698) params.json should have a way to specify appends and invariants
Date Mon, 22 Feb 2016 14:08:18 GMT

     [ https://issues.apache.org/jira/browse/SOLR-8698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Noble Paul updated SOLR-8698:
-----------------------------
    Attachment: SOLR-8698.patch

all required changes as per the description and necessary changes in the tests

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message