On Jul 16, 2009, at 4:35 AM, Koji Sekiguchi wrote:
ashokcz wrote:
Hi all,
i have a scenario where i need to get facet count for combination
of fields.
Say i have two fields Manufacturer and Year of manufacture.
I search for something and it gives me 15 results and my facet
count as like
this :
Manufacturer : Nokia(5);Motorola(7);iphone(3)
Year of manufacture : 2007 (4) ; 2008 (4) 2009 (7).
But what i need is combination of count .
Say Nokia - 2007 - 1
Nokia - 2008 - 1
Nokia - 2009 - 2
Somethig like this ........
is there any way we can get this kind of facet counts from single
solr
search hits ???
Are you looking at this?
https://issues.apache.org/jira/browse/SOLR-792
A note on SOLR-792 - it's something that can be accomplished from the
client by making multiple requests to Solr. First facet on
Manufacturer, iterate through each and request facets on Year with an
fq (filter query) set for each Manufacturer.
Erik