lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Giffin <da...@giffin.org>
Subject Re: facet.query and fq
Date Tue, 27 Oct 2009 18:01:28 GMT
Thanks, that was just what I was looking for!

On Tue, Oct 27, 2009 at 1:27 PM, Jérôme Etévé <jerome.eteve@gmail.com> wrote:
> Hi,
>
>  you need to 'tag' your filter and then exclude it from the faceting.
>
>  An example here:
> http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters
>
> J.
>
> 2009/10/27 David Giffin <david@giffin.org>:
>> Hi There,
>>
>> Is there a way to get facet.query= to ignore the fq= param? We want to
>> do a query like this:
>>
>> select?fl=*&start=0&q=cool&fq=in_stock:true&facet=true&facet.query=in_stock:false&qt=dismax
>>
>> To understand the count of items not in stock, when someone has
>> filtered items that are in stock. Or is there a way to combine two
>> queries into one?
>>
>> Thanks,
>> David
>>
>
>
>
> --
> Jerome Eteve.
> http://www.eteve.net
> jerome@eteve.net
>

Mime
View raw message