Solr
  1. Solr
  2. SOLR-5264

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.6, master
    • 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development