Hi, We having 100 category and each category having it own internal ranking. Let consider if I search for any product and its fall under 30 categories and we are showing top 10 categories in filter so that user can filter there results.
Let consider hypothetical example(as we don't have correct data and we are
under testing solr features):
Categories values and internal ranking:
Cat1
- 1
Cat2
- 2
Cat3
- 3
Cat4
- 4
Cat5
- 5
Cat6
- 6
Cat7
- 7
Cat8
- 8
Cat9
- 9
Cat10 - 10
Cat11 - 11
Cat12 - 12
Cat13 - 13
Cat14 - 14
Cat15 - 15
If I search for product it will return result:
Category
count(as sort by count)
Cat2
- 20
Cat3
- 17
Cat4
- 15
Cat1
- 14
Cat7
- 13
Cat8
- 12
Cat9
- 10
Cat15 - 9
Cat13 - 8
Cat10 - 7
Cat11 - 6
Cat12 - 5
Now we want show only top 10 values so we will miss: Cat11 and Cat12 as it
sort by count not by its ranking
We would like result below :
Cat15
Cat13
Cat12
Cat11
Cat10
Cat9
Cat8
Cat7
Cat4
Cat3
Cat2
Cat1
Hope this will convey what we want....
Have great day .....:)
Thanks and Regards,
Amit
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley
Sent: 22 November 2008 22:51
To: [email protected]
Subject: Re: facet sort by ranking
On Sat, Nov 22, 2008 at 12:05 PM, Amit <[EMAIL PROTECTED]> wrote:
> Actually we have some ranking associated to field on which we are faceting
> and we want to show only top 10 facet value now which is sort by count but
> we want to sort by it ranking.
I think you're going to have to give some concrete examples of what
your documents look like, and what results you want back.
-Yonik
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.549 / Virus Database: 270.9.9/1804 - Release Date: 21-11-2008
18:24
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.549 / Virus Database: 270.9.9/1804 - Release Date: 21-11-2008
18:24
