I believe I'll need to write some custom code to accomplish what I want (efficiently that is) but I'm unsure of what would be the best route to take. Will this require a custom request handler? Search component?
Ok the easiest way to explain is to show you what I want. http://shop.ebay.com/?_from=R40&_trksid=p3907.m570.l1313&_nkw=fashion&_sacat=See-All-Categories. We have a similar category structure whereas we have top level-categories and then sub-categories. I want to be able to perform a search and then only return the top 3 top-level categories with their sub-categories also faceted. The problem is I don't know what those top 3 top-level categories are until after I search. The dumb easy way: Facet on all top-level categories and sub-categories. This results in faceting on over 600 categories... probably not the best route. Second way. Have the client send multiple requests on the backend. First to determine the top 3 categories, then another for all the subcategories. This involves more client side coding and I would prefer not to perform 2x the requests. If at all possible I would like to do this on the Solr side. Just to mention, sending multiple requests via ajax won't work because we need the content on the page at render time. Any suggestions, pointers? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Custom-faceting-question-tp868015p868015.html Sent from the Solr - User mailing list archive at Nabble.com.