hmmm but in my case it will be dynamic . they may choose different fields at run time and accordingly i need to populate the values ...
Avlesh Singh wrote: > > If you create a field called "brand_year_of_manufacturing" and populate it > with the "brandName - YOM" data while indexing, you can achieve the > desired > with a simple facet on this field. > > Cheers > Avlesh > > On Thu, Jul 16, 2009 at 1:19 PM, ashokcz <ashokkumar.gane...@tcs.com> > 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 ??? >> >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/Getting-Facet-Count-of-combination-of-fields-tp24511923p24511923.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Getting-Facet-Count-of-combination-of-fields-tp24511923p24513837.html Sent from the Solr - User mailing list archive at Nabble.com.