lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Etévé <jerome.et...@gmail.com>
Subject Re: facet.query and fq
Date Tue, 27 Oct 2009 17:27:29 GMT
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