I have a couple of question concerning facet searching. As I understand, after passing facets to Solr, one must manually add facet results to search to narrow the search. ex. i search for "foo bar" and click some facet. must i now search for 'foo bar facet:value' ? Must I include + signs? I'm using solrphpclient, maybe there's an API (PHP) that can parse all this?
Another question is facet hierarchies, what's the easiest way to throw away facets when one is parent of other. ex. it makes no sense to display 'country' facet when a 'city' facet has been clicked. Storing all facets hardcoded is not possible, they may change. How is this usually done? Again, any API that can do this? Thanks!