You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by mladen <ml...@gmail.com> on 2012/01/06 22:54:13 UTC
facet count per group?
Hi guys,
I have bunch of simple documents, only differentiated by "rating filed":
Robert
eab213a7-b5f7-a8cf-71f3-2b7929eb1965
Dagge
0
7
rdagge
IT Sourcing Strategy
131
Larry
efa1c145-d244-ed07-09d9-6af43f3f35a0
Gutman
0
6
lgutman
I have led major global deployments of technology and process, Global IT
outsourcing, and Operational Excellence programs.
2136
When I run this command select?q=searchcolumn:*ourcing*&fq=rating:[6 TO
7]&facet=true&facet.field=rating&facet.field=uid&facet.sort=count&rows=100
i returns me correct TOTAL number of matches per searchcolumn field (and
both rating fields):
32
4
...
4
1
1
...
So, the question... is it possible somehow to associate every facet count
with rating filed... for example - uid 131 has 4 hits where rating is 6
uid 131 has 3 hits where rating is 7
...
Instead of uid 131 has 7 hits in total in both fields
Tried group=true&group.field=uid but than facet count is reduced to single
per group. Using SOLR 3.5 and any suggestion, hint or direction is really
appreciated. Thanks!
--
View this message in context: http://lucene.472066.n3.nabble.com/facet-count-per-group-tp3639009p3639009.html
Sent from the Solr - User mailing list archive at Nabble.com.