With your eaxmple I got it working nicely with addFacetField and
addFilterQuery in the API.

Thanks, I appreciate the help.




Britske wrote:
> 
> something like this?
> 
> q=mainquery&fq={!tag=carfq}cars:corvette OR
> cars:camaro&facet=on&facet.field={!ex=carfq key=carfacet}cars
> 
> -the facet: "carfacet" is indepedennt of the filter query that filters on
> cars.
> -you construct the filter query (fq={!tag=carfq}cars:corvette OR
> cars:camaro) yourself in your application layer.
> 
> perhaps a disadvantage is that you get a lot of different filter queries
> which are all independently cached... I don't see any other way at the
> moment though..
> 
> Geert-Jan
> 
> 
> 
> 2010/3/22 homerlex <nab...@mlecza.newnetco.com>
> 
>>
>> bump - anyone?
>> --
>> View this message in context:
>> http://old.nabble.com/Multi-Select-Facets-through-Java-API-tp27951014p27986301.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Multi-Select-Facets-through-Java-API-tp27951014p27989508.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to