You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by David Rühr <dr...@web-factory.de> on 2010/01/26 17:24:31 UTC
how to sort facets?
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
Re: how to sort facets?
Posted by David Rühr <dr...@web-factory.de>.
hi,
thanx.
So Long,
David Rühr
Koji Sekiguchi schrieb:
> 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
>
Mit freundlichen Grüßen,
David Rühr
PHP Programmierer
--
Marketing Factory Consulting GmbH * mailto:dr@marketing-factory.de
Stephanienstraße 36 * Tel.: +49 211-361176-58
D-40211 Düsseldorf, Germany * Fax: +49 211-361176-99
Amtsgericht Düsseldorf HRB 53971 * http://www.marketing-factory.de/
Geschäftsführer: Peter Faisst | Katja Faisst
Karoline Steinfatt | Christoph Allefeld | Markus M. Kimmel
Re: how to sort facets?
Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
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/