You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ninad Raut <hb...@gmail.com> on 2010/05/31 16:10:27 UTC

Re: Restricting the values returned by Facet Fields using Filter Query

Hi,
I tried a small POC and found that Filter queries do restrict the
documents set used for "Group By" on Facet Field.

It will help me restrict documents on some other filters when I am
grouping on muti-valued "Buzz" field.

Thanks Gijs and Erik.

Regards,
Ninad R



On 5/31/10, Erik Hatcher <er...@gmail.com> wrote:
> Maybe what you're looking for is facet.mincount=1 ?
>
> 	Erik
>
> On May 31, 2010, at 6:01 AM, Ninad Raut wrote:
>
>> Hi,
>>
>> Is it possible to restrict the values returned by Facet Fields using
>> Filter
>> Queries to Group on only those documents will pass the filter query
>> passed
>> in filter criteria??
>>
>>
>> I am under the assumption that fq is disjoint from facet.field
>> function. Let
>> me know if my assumptions are right or wrong.
>>
>> Regards,
>> Ninad R
>
>