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

support for appended and invariant SolrParams in solrconfig.xml

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • search
    • None

    Description

      this patch would add support to StandardRequestHandler and DisMaxRequestHandler for specifying "appends" and "invariants" SolrParams in the solrconfig.xml, from the example config...

      In addition to defaults, "appends" params can be specified
      to identify values which whould be appended to the list of
      multi-valu params from the query (or the existing "defaults").
      ...
      "invariants" are a way of letting the Solr maintainer lock down
      the options available to Solr clients. Any params values
      specified here are used regardless of what values may be specified
      in either the query, the "defaults", or the "appends" params.

      ...functionality is largely reusable by any handler, via SolrPluginUtils.setDefaults.

      Attachments

        1. appends-and-invariants.patch
          10 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: