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

Would like to have 2 sorting parameters for Facets - one for order, and one for display

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 4.0-ALPHA
    • None
    • search
    • None

    Description

      Since 1.4, facet.sort=index and count exist.

      I would like to add facet.display=alpha to change the order.

      Use case:

      I want to output 10 facet terms from highest to lowest count. i.e. facet.sort=count&facet.limit=10
      But I want the actual order to be alphabetical. i.e. facet.display=index

      Otherwise our program needs to get the list, and sort it on the client side.

      Attachments

        Activity

          People

            Unassigned Unassigned
            billnbell Bill Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified