Solr
  1. Solr
  2. SOLR-46

support for appended and invariant SolrParams in solrconfig.xml

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: search
    • Labels:
      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.

        Activity

        Hide
        Yonik Seeley added a comment -

        Looks good!
        and no performance impact if you don't use the features (just the way I like them

        Show
        Yonik Seeley added a comment - Looks good! and no performance impact if you don't use the features (just the way I like them
        Hide
        Hoss Man added a comment -

        commited with some spell corrections in examplesolrconfig.xml

        Show
        Hoss Man added a comment - commited with some spell corrections in examplesolrconfig.xml
        Hide
        Hoss Man added a comment -

        This bug was modified as part of a bulk update using the criteria...

        • Marked ("Resolved" or "Closed") and "Fixed"
        • Had no "Fix Version" versions
        • Was listed in the CHANGES.txt for 1.1

        The Fix Version for all 38 issues found was set to 1.1, email notification
        was suppressed to prevent excessive email.

        For a list of all the issues modified, search jira comments for this
        (hopefully) unique string: 20080415hossman3

        Show
        Hoss Man added a comment - This bug was modified as part of a bulk update using the criteria... Marked ("Resolved" or "Closed") and "Fixed" Had no "Fix Version" versions Was listed in the CHANGES.txt for 1.1 The Fix Version for all 38 issues found was set to 1.1, email notification was suppressed to prevent excessive email. For a list of all the issues modified, search jira comments for this (hopefully) unique string: 20080415hossman3

          People

          • Assignee:
            Hoss Man
            Reporter:
            Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development