lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-5627) Config should contains an "Invariants"-like section, that lets the user the choise between a list of options, for a specific param
Date Sun, 16 Mar 2014 04:52:00 GMT

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

David Smiley updated SOLR-5627:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> 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
>            Priority: Minor
>              Labels: config, invariants, solrconfig.xml
>             Fix For: 4.8
>
>         Attachments: SOLR-5627.patch
>
>
> 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.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message