lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: how to sort facets?
Date Tue, 26 Jan 2010 22:25:18 GMT
David Rühr wrote:
> hi,
>
> we make a Filter with Faceting feature. In our faceting list the order 
> is by count by the matches:
> facet.sort=count
>
> but we need to sort by => facet.sort=manufacturer.
> Url manipulation doesn't change anything, why?
>
> select?fl=*%2Cscore&fq=type%3Apage&spellcheck=true&facet=true&facet.mincount=1&facet.sort=manufacturer&bf=log(supplier_faktor)&facet.field=supplier&facet.field=manufacturer&version=1.2&q=kind&start=0&rows=10

>
>
> so long,
> David
>
Try facet.sort=index. facet.sort accepts only count or index.

http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort

Koji

-- 
http://www.rondhuit.com/en/


Mime
View raw message