Hi,

By counting in facet results I mean resolve the problem:

I have 7 documents:

A1   B1   C1
A2   B1   C1
A3   B2   C1
A4   B2   C2
A5   B3   C2
A6   B3   C2
A7   B3   C2

If I make the facet query by field B, get the result: B1=2, B2=2, B3=3.
A1   B1   C1
A2   B1   C1     2 - facing by B
--------------===
A3   B2   C1
A4   B2   C2     2 - facing by B
--------------===
A5   B3   C2
A6   B3   C2
A7   B3   C2     3 - facing by B

I wont to get additional information, something like count in results, by
field C. So, how can I query to get a result similar to the following:
A1   B1   C1
A2   B1   C1     2, 1 - facing by B, count C in facet results
--------------=====
A3   B2   C1
A4   B2   C2     2, 2 - facing by B, count C in facet results
--------------=====
A5   B3   C2
A6   B3   C2
A7   B3   C2     2, 1 - facing by B, count C in facet results


Thanks 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Counting-in-facet-results-tp3506382p3506382.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to