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

New method on NamedList to return one or many config arguments as collection

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.6, 6.0
    • Component/s: clients - java
    • Labels:
      None

      Description

      In the FieldMutatingUpdateProcessorFactory is a method called "oneOrMany" that takes all of the entries in a NamedList and pulls them out into a Collection. I'd like to use that in a custom update processor I'm building.

      It seems as though this functionality would be right at home as part of NamedList itself. Here's a patch that moves the method.

        Attachments

        1. SOLR-5264-boolean.patch
          4 kB
          Shawn Heisey
        2. SOLR-5264.patch
          21 kB
          Shawn Heisey
        3. SOLR-5264.patch
          10 kB
          Shawn Heisey
        4. SOLR-5264.patch
          14 kB
          Shawn Heisey
        5. SOLR-5264.patch
          17 kB
          Shawn Heisey
        6. SOLR-5264.patch
          18 kB
          Shawn Heisey

          Activity

            People

            • Assignee:
              elyograg Shawn Heisey
              Reporter:
              elyograg Shawn Heisey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: