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