How would you know it if you did this manually? Solr does not know
that Dutch is not valid for USA. You need to give it some sort of
signal.

One way could be to have a dynamic field for a facet which includes
country name. So, you have language_USA, language_Belgium, etc. Then,
when you do country:USA, you also do facet count against language_USA.

You could even get super fancy with field aliases and other tricks,
though this may get messy if you do need it for each country.

Regards,
   Alex.
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency


On Tue, Apr 29, 2014 at 9:56 AM, atuldj.jadhav <atuldj.jad...@gmail.com> wrote:
> Yes, but with my query *country:"USA" * it is returning me languages
> belonging to countries other than USA.
>
> Is there any way I can avoid such languages appearing in my facet filters?
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Selectively-hiding-SOLR-facets-tp4132770p4133638.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to