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

various bugs using localparams with stats.field

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      StatsComponent has two different code paths for dealing with param parsing depending on wether it's a single node request of a distributed request, which results in two very differnet looking bugs (but in my opinion have the same root cause: bogus local param parsing):

      • the documented local params for stats.field don't work on distributed stats requests at all
      • per field "calcdistinct" doesn't work if localparms are used on single node request

        Attachments

        1. SOLR-6507.patch
          21 kB
          Hoss Man
        2. SOLR-6507.patch
          25 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: