Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5627

Config should contains an "Invariants"-like section, that lets the user the choise between a list of options, for a specific param

    XMLWordPrintableJSON

Details

    Description

      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...)

      <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>
      

      Attachments

        1. SOLR-5627.patch
          13 kB
          Isaac Hebsh

        Activity

          People

            Unassigned Unassigned
            isaachebsh Isaac Hebsh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: