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

ModifiableSolrParams -- (perhaps) modify MultiMapSolrParams

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      The existing ways to change parameters at runtime are awkward, this is a class I have been using in SOLR-20. It is a solr params implementation with two nice additions:

      public void set( String name, String ... val )

      { ... }

      public void add( String name, String ... val )

      { ... }

      Rather then have a new class, it may be better to augment MultiMapSolrParams to include a default constructor and use set/add to modify the final Map<String,String[]>

        Attachments

          Activity

            People

            • Assignee:
              ryantxu Ryan McKinley
              Reporter:
              ryantxu Ryan McKinley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: