lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
Subject Re: Alphabetical Facets
Date Fri, 11 May 2007 17:38:10 GMT
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

Mime
View raw message