Thanks for your reply Erick,
As far as I can see grouping on brand (group.field=brand) will only work if
all rows are returned. Correct?
- if this is so it will not fly since only the top results are returned
(rows=100)
Or am I missing something.
Thanks
--
View this message in context:
http:
Thanks for the suggestion Martijn.
I did see that v. 4 had a group.facet parameter that seems to fit my needs.
But since I'm new to Solr I'm not really comfortable using version 4 in
production, let alone a nightly build.
Any other ideas? - I cant imagine that i'm the first person ever trying to
I see your point.
If I understand it correct it will however mean that i need to return
10(brands)x100(resultToShow) = 1000 docs to facilitate that all 100 results
to show is of the same brand. Correnct?
And tomorrow (or later) the customer will also want a facet on 5 new fields
eg. "production y
just a count of the number of distinct ones found, not the
number of matching docs.
So a really simple solution would be to forget about grouping
and just facet. Then have your application change the counts
for all the "brand" entries to 1.
Best
Erick
On Mon, Mar 19, 2012 at 5:23
Thanks for taking the time to help me Erick!
Just to clarify my desired behavior from the facets. This is the index,
notice color is multivalued to represent a model of car that has more than
one color:
Audi A4
audi
A4_black
black
white
Audi A4
audi
A4_white
white
Volvo V50
volvo
Volvo_V50
b