Hi team. Please help me address one problem I am facing in SOLR faceting. I have two websites (for countries Belgium & US) on each of these websites I have a managers details page which is served from a common SOLR index.
I have indexed feed xml in SOLR. <add> <doc> <field name="id">1</field> <field name="language">French</field> <field name="country">BE</field> <field name="author">Chris</field> </doc> <doc> <field name="id">2</field> <field name="language">Dutch</field> <field name="country">UK</field> <field name="author">Jeff</field> </doc> <doc> <field name="id">3</field> <field name="language">Spanish</field> <field name="country">USA</field> <field name="author">Jacek</field> </doc> <doc> <field name="id">4</field> <field name="language">English</field> <field name="country">USA</field> <field name="author">Dave</field> </doc> </add> On US site I want to show managers and language specific to that particular country only with language facets. However below query gives me Belgium websites language facets as well http://solr:8080/select?q=country:”USA”&facet=on&facet.field=”language” language English [1] Spanish [1] French [0] Dutch [0] *I cannot use facet.mincount=1 approach because when English language facet is selected business expects Spanish to be shown with 0 count.* So I want to selectively hide certain facets… i.e. French and Dutch… Can this be achieved through SOLR query/configuration? -- View this message in context: http://lucene.472066.n3.nabble.com/Selectively-hiding-SOLR-facets-tp4132770.html Sent from the Solr - User mailing list archive at Nabble.com.