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

Streaming expressions should support collection alias

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.5.1
    • 6.4
    • SolrCloud
    • None

    Description

      Streaming expressions should support collection aliases.

      When I tried to access collection alias I get a null pointer exception.

      issue seems to be related to following code: clusterState.getActiveSlices returns null

      Collection<Slice> slices = clusterState.getActiveSlices(this.collection);
      

      fix seems to fairly simple , clusterState.getActiveSlices can be made aware of collection alias. I am not sure what will happen when we have large alias which has hundred of slices.

      Attachments

        1. SOLR-9077.patch
          146 kB
          Kevin Risden
        2. SOLR-9077.patch
          142 kB
          Kevin Risden
        3. SOLR-9077.patch
          142 kB
          Kevin Risden
        4. SOLR-9077.patch
          141 kB
          Kevin Risden
        5. SOLR-9077.patch
          14 kB
          Kevin Risden

        Activity

          People

            krisden Kevin Risden
            suds.s Suds
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: