>From: Chris Hostetter <hossman_luc...@fucit.org>
>To: Steve Fatula <compconsult...@yahoo.com>
>Cc: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
>Sent: Monday, November 7, 2011 7:17 PM
>Subject: Re: Faceting a multi valued field
> 
>
>you can the 
>level and most of the path and just index the "${parent_cat_id}:${cat_id}" 
>tuples for every $cat_id the product is in, and tuples and use 
>"${cat_id}:" as your facet.prefix.
>
>
>Actually, the solution is quite simple. Since we already use this method, for 
>2 levels, simply expand it to ${parent_cat_id}:${cat_id}:${subcat_id}

Reply via email to