Isaac Hebsh created SOLR-5627:
---------------------------------

             Summary: Config should contains an "Invariants"-like section, that 
lets the user the choise between a list of options, for a specific param
                 Key: SOLR-5627
                 URL: https://issues.apache.org/jira/browse/SOLR-5627
             Project: Solr
          Issue Type: Improvement
          Components: search
            Reporter: Isaac Hebsh
             Fix For: 4.7


We want to limit our clients, so they can specify a parameter to request 
handler, but it must be one of some known values.

When multiple values of a same parameter are defined in {{invariants}} section, 
all of these values are added to the query. This behavior is usefull for 
multivalue params (like {{facet.field}}) but does nothing for params like 
{{rows}}.

We suggest to add another section, let's call it {{locked-list-values}} (bad 
name...)

{code:xml}
<locked-list-values>
    <int name="rows">10</int>
    <int name="rows">50</int>
    <int name="rows">100</int>
    <int name="rows">200</int>
</locked-list-values>
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to