On Wed, Jul 1, 2009 at 9:42 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:

> On Wed, Jul 1, 2009 at 8:25 PM, Sumit Aggarwal 
> <sumit.kaggar...@gmail.com>wrote:
>
>> The example given says i can specify only one term as facet prefix. My
>> Requirement is i should be able to pass few set of facet terms which will
>> return me facet count for those terms only..
>>
>> So i wanted to do some thing like....
>> q=red dress
>> facet=true
>> facet.field=descp
>> facet.mincount=1
>> facet.prefix=['small','large','macys.com']            (here number of
>> facet
>> terms are more than one)
>>
>>
> I think what you need is facet.query. You'll need to send multiple
> facet.query parameters like facet.query=small*&facet.query=large* and so on.
>


Note that this won't give you the matching terms but it will give you a
count of documents matching the facet.query.


-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to