lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: How to avoid double counting for facet query
Date Tue, 14 Jun 2011 20:44:42 GMT
> That's good to know. From the ticket,
> looks like the fix will be in 4.0
> then?

It is already committed. You can use trunk:
svn checkout
> Currently I can see {} and [] worked, but not combined for
> Solr 3.1. I will
> try 3.2 soon. 

After re-thinking you can simulate the same thing by using a negative clause too : facet.query=price:[110
TO 160] -price:160 

I saw an facet by range example in solrconfig.xml. May be this will work for you?

    <int name="f.price.facet.range.start">0</int>
    <int name="f.price.facet.range.end">600</int>
    <int name="">50</int>

View raw message