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

Introduce 'rows' and 'offset' parameter in FacetStream

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.6, 8.0
    • streaming expressions
    • None

    Description

      Today facetStream takes a "bucketSizeLimit" parameter. Here is what the doc says about this parameter - The number of buckets to include. This value is applied to each dimension.

      Now let's say we create a facet stream with 3 nested facets. For example "year_i,month_i,day_i" and provide 10 as the bucketSizeLimit.

      FacetStream would return 10 results to us for this facet expression while the total number of unqiue values are 1000 (10*10*10 )

      The API should have a separate parameter "limit" which limits the number of tuples (say 500) while bucketSizeLimit should be used to specify the size of each bucket in the JSON Facet API.

      Attachments

        1. SOLR-12795.patch
          7 kB
          Amrit Sarkar
        2. SOLR-12795.patch
          9 kB
          Amrit Sarkar
        3. SOLR-12795.patch
          11 kB
          Amrit Sarkar
        4. SOLR-12795.patch
          14 kB
          Joel Bernstein
        5. SOLR-12795.patch
          19 kB
          Joel Bernstein
        6. SOLR-12795.patch
          20 kB
          Joel Bernstein
        7. SOLR-12795.patch
          20 kB
          Joel Bernstein
        8. SOLR-12795.patch
          25 kB
          Joel Bernstein
        9. SOLR-12795.patch
          26 kB
          Joel Bernstein
        10. SOLR-12795.patch
          26 kB
          Joel Bernstein
        11. SOLR-12795.patch
          28 kB
          Joel Bernstein
        12. SOLR-12795.patch
          33 kB
          Joel Bernstein

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: