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

SolrParams ought to implement Iterable<Map.Entry<String,String[]>>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.4
    • None

    Description

      SolrJ ought to implement Iterable<Map.Entry<String,String[]>> so that it's easier to iterate on it, either using Java 5 for-each style, or Java 8 streams. The implementation on ModifiableSolrParams can delegate through to the underlying LinkedHashMap entry set. The default impl can produce a Map.Entry with a getValue that calls through to getParams.

      Attachments

        1. SOLR-11913.patch
          20 kB
          David Smiley
        2. SOLR-11913.patch
          16 kB
          David Smiley
        3. SOLR-11913.patch
          7 kB
          Tapan Vaishnav
        4. SOLR-11913.patch
          5 kB
          Tapan Vaishnav
        5. SOLR-11913_v2.patch
          5 kB
          Tapan Vaishnav
        6. SOLR-11913.patch
          4 kB
          Tapan Vaishnav

        Activity

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: