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


      he goal here is basically flip the notion of "stats.facet" on it's head, so that instead of asking the stats component to also do some faceting (something that's never worked well with the variety of field types and has never worked in distributed mode) we instead ask the PivotFacet code to compute some stats X for each leaf in a pivot. We'll do this with the existing stats.field params, but we'll leverage the tag local param of the stats.field instances to be able to associate which stats we want hanging off of which facet.pivot


      stats.field={!key=avg_price tag=s1 mean=true}price
      stats.field={!tag=s1 min=true max=true}user_rating

      ...with the request above, in addition to computing the min/max user_rating and mean price (labeled "avg_price") over the entire result set, the PivotFacet component will also include those stats for every node of the tree it builds up when generating a pivot of the fields "category,manufacturer"


        1. SOLR-6351.patch
          131 kB
          Chris M. Hostetter
        2. SOLR-6351.patch
          132 kB
          Chris M. Hostetter
        3. SOLR-6351.patch
          129 kB
          Vitaliy Zhovtyuk
        4. SOLR-6351.patch
          122 kB
          Chris M. Hostetter
        5. SOLR-6351.patch
          120 kB
          Chris M. Hostetter
        6. SOLR-6351.patch
          117 kB
          Chris M. Hostetter
        7. SOLR-6351.patch
          107 kB
          Vitaliy Zhovtyuk
        8. SOLR-6351.patch
          67 kB
          Chris M. Hostetter
        9. SOLR-6351.patch
          73 kB
          Chris M. Hostetter
        10. SOLR-6351.patch
          67 kB
          Chris M. Hostetter
        11. SOLR-6351.patch
          66 kB
          Chris M. Hostetter
        12. SOLR-6351.patch
          78 kB
          Vitaliy Zhovtyuk
        13. SOLR-6351.patch
          78 kB
          Vitaliy Zhovtyuk
        14. SOLR-6351.patch
          76 kB
          Vitaliy Zhovtyuk
        15. SOLR-6351.patch
          69 kB
          Steve Molloy
        16. SOLR-6351.patch
          70 kB
          Steve Molloy
        17. SOLR-6351.patch
          66 kB
          Vitaliy Zhovtyuk
        18. SOLR-6351.patch
          59 kB
          Steve Molloy
        19. SOLR-6351.patch
          56 kB
          Vitaliy Zhovtyuk

          Issue Links



              • Assignee:
                hossman Chris M. Hostetter
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                13 Start watching this issue


                • Created: