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

add a 'prelim_sort' option to JSON faceting

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.7, 8.0
    • Component/s: Facet Module
    • Labels:
      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
          Hoss Man
        2. SOLR-12839.patch
          65 kB
          Hoss Man
        3. SOLR-12839.patch
          74 kB
          Hoss Man
        4. SOLR-12839.patch
          81 kB
          Hoss Man

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              hossman Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: