[ https://issues.apache.org/jira/browse/SOLR-9674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15979282#comment-15979282 ]
Yonik Seeley commented on SOLR-9674: ------------------------------------ One idea how to implement this would be as a facet function that one could sort by that lowercases values. {code} { type: terms, field: myfield, sort: "lowerval". facet: { lowerval : "lowercase(myfield)", x : "otherstats(otherfield)" } {code} > Facet Values Sort Order: Index should ignore casing > --------------------------------------------------- > > Key: SOLR-9674 > URL: https://issues.apache.org/jira/browse/SOLR-9674 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module > Reporter: Luke P Warwick > Labels: facet, features > > Index facet value sorting puts all values that start with a capital letter > before all values that start with a lower case letter. > Since users often don't know this pattern, nor that the value they are > looking for might start with a lower case letter, it leads to confusion and > bad experiences, in particular in E-commerce with the 'Brand' Facet. > Desired behavior is that the order ignore case. If two values are otherwise > equal (Patagonia,patagonia), put the capital first. > Example: > Current Order: Anon,Marmot,Patagonia,Smith,Zoot,maloja,prAna > Desired Order: Anon,Marmot,maloja,Patagonia,prAna,Smith,Zoot -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org