Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Stats component currently computes all stats (except for one) every time because they are relatively cheap, and in some cases dependent on eachother for distrib computation – but if we start layering stats on other things it becomes unnecessarily expensive to compute all the stats when they just want the "sum" (and it will definitely become excessively verbose in the responses).

      The plan here is to use local params to make this configurable. All of the existing stat options could be modeled as a simple boolean param, but future params (like percentiles) might take in a more complex param value...

      Example:

      stats.field={!min=true max=true percentiles='99,99.999'}price
      stats.field={!mean=true}weight
      

        Attachments

        1. SOLR-6349.patch
          135 kB
          Hoss Man
        2. make-data-and-queries.pl
          3 kB
          Hoss Man
        3. make-data-and-queries.pl
          2 kB
          Hoss Man
        4. SOLR-6349.patch
          93 kB
          Hoss Man
        5. SOLR-6349.patch
          87 kB
          Hoss Man
        6. make-data-and-queries.pl
          2 kB
          Hoss Man
        7. SOLR-6349.patch
          83 kB
          Hoss Man
        8. SOLR-6349.patch
          77 kB
          Hoss Man
        9. SOLR-6349.patch
          63 kB
          Hoss Man
        10. SOLR-6349.patch
          59 kB
          Hoss Man
        11. SOLR-6349-xu.patch
          55 kB
          Xu Zhang
        12. SOLR-6349-xu.patch
          37 kB
          Xu Zhang
        13. SOLR-6349-xu.patch
          30 kB
          Xu Zhang
        14. SOLR-6349-xu.patch
          23 kB
          Xu Zhang
        15. SOLR-6349-tflobbe.patch
          21 kB
          Tomás Fernández Löbbe
        16. SOLR-6349-tflobbe.patch
          16 kB
          Tomás Fernández Löbbe
        17. SOLR-6349-tflobbe.patch
          16 kB
          Tomás Fernández Löbbe
        18. SOLR-6349___bad_idea_broken.patch
          19 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                hossman Hoss Man
              • Votes:
                2 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: