You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by cricdigs <cr...@gmail.com> on 2007/11/01 18:05:28 UTC
Re: Alphabetical Facets
Will there be a way to do reverse alphabetical ordering in addition to
alphabetical? a->z and z->a ?
Thanks in advance.
ryantxu wrote:
>
> Chris Hostetter wrote:
>> : Has anyone given any thought to alphabetical faceting?
>>
>> if by alphabetical you mean the natural unicode ordering of terms for
>> facet.field type facets -- that's already supported.
>>
>> It's the default sort if there is no facet limit (ie: facet.limit=-1)
>> but
>> even with a limit it can be explicitly turned on with facet.sort=false
>>
>> http://wiki.apache.org/solr/SimpleFacetParameters#head-569f93fb24ec41b061e37c702203c99d8853d5f1
>> http://localhost:8983/solr/select/?q=*%3A*&facet=true&facet.field=cat&rows=0&facet.limit=5&facet.sort=false
>>
>
> perfect!
>
> I read that, but did not realize "natural index order" is alphabetical
> in the ascii range.
>
> thanks
> ryan
>
>
--
View this message in context: http://www.nabble.com/Alphabetical-Facets-tf3728353.html#a13533000
Sent from the Solr - User mailing list archive at Nabble.com.