Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12794 FacetStream Improvements
  3. SOLR-12911

Include "refine" param (refinement SOLR-9432) to the FacetStream

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6, 8.0
    • Component/s: streaming expressions
    • Labels:
      None

      Description

      SOLR-9432 introduces refinement in JSON Faceting which makes sure all the respective buckets are fetched from each shard of the collection. This ensures authentic mathematical bucket counts.

      FacetStream should have refinement as an optional parameter like below, with default being "false":

      facet(collection1,
            q="*:*",
            refine="true",
            buckets="a_s",
            bucketSorts="sum(a_i) desc",
            bucketSizeLimit=100,
            sum(a_i),
            count(*))
      

        Attachments

        1. SOLR-12911.patch
          25 kB
          Amrit Sarkar
        2. SOLR-12911.patch
          27 kB
          Amrit Sarkar

          Activity

            People

            • Assignee:
              jbernste Joel Bernstein
              Reporter:
              sarkaramrit2@gmail.com Amrit Sarkar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: