lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Bell (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-2431) Would like to have 2 sorting parameters for Facets - one for order, and one for display
Date Thu, 17 Mar 2011 06:22:29 GMT
Would like to have 2 sorting parameters for Facets - one for order, and one for display
---------------------------------------------------------------------------------------

                 Key: SOLR-2431
                 URL: https://issues.apache.org/jira/browse/SOLR-2431
             Project: Solr
          Issue Type: New Feature
          Components: search
    Affects Versions: 4.0
            Reporter: Bill Bell
            Priority: Minor


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.




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message