Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12839

add a 'prelim_sort' option to JSON faceting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.7, 8.0
    • Facet Module
    • None

    Description

      As discusssed in SOLR-9480 ...

      Similar to how the rerank request param allows people to collect & score documents using a "cheap" query, and then re-score the top N using a ore expensive query, I think it would be handy if JSON Facets supported a resort option that could be used on any FacetRequestSorted instance right along side the sort param, using the same JSON syntax, so that clients could have Solr internaly sort all the facet buckets by something simple (like count) and then "Re-Sort" the top N=limit (or maybe ( N=limit+overrequest ?) using a more expensive function like skg()

      Attachments

        1. SOLR-12839.patch
          47 kB
          Chris M. Hostetter
        2. SOLR-12839.patch
          65 kB
          Chris M. Hostetter
        3. SOLR-12839.patch
          74 kB
          Chris M. Hostetter
        4. SOLR-12839.patch
          81 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: