Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1, 6.0
    • None
    • 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. make-data-and-queries.pl
          3 kB
          Chris M. Hostetter
        2. make-data-and-queries.pl
          2 kB
          Chris M. Hostetter
        3. make-data-and-queries.pl
          2 kB
          Chris M. Hostetter
        4. SOLR-6349___bad_idea_broken.patch
          19 kB
          Chris M. Hostetter
        5. SOLR-6349.patch
          135 kB
          Chris M. Hostetter
        6. SOLR-6349.patch
          93 kB
          Chris M. Hostetter
        7. SOLR-6349.patch
          87 kB
          Chris M. Hostetter
        8. SOLR-6349.patch
          83 kB
          Chris M. Hostetter
        9. SOLR-6349.patch
          77 kB
          Chris M. Hostetter
        10. SOLR-6349.patch
          63 kB
          Chris M. Hostetter
        11. SOLR-6349.patch
          59 kB
          Chris M. Hostetter
        12. SOLR-6349-tflobbe.patch
          21 kB
          Tomas Eduardo Fernandez Lobbe
        13. SOLR-6349-tflobbe.patch
          16 kB
          Tomas Eduardo Fernandez Lobbe
        14. SOLR-6349-tflobbe.patch
          16 kB
          Tomas Eduardo Fernandez Lobbe
        15. SOLR-6349-xu.patch
          55 kB
          Xu Zhang
        16. SOLR-6349-xu.patch
          37 kB
          Xu Zhang
        17. SOLR-6349-xu.patch
          30 kB
          Xu Zhang
        18. SOLR-6349-xu.patch
          23 kB
          Xu Zhang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment