Double check your default operator for a faceted search vs. regular
search. I caught this difference in my work that explained this
difference.

On Fri, 2012-02-10 at 07:45 -0800, Yuhao wrote:
> Jay,
> 
> Was the curly closing bracket "}" intentional?  I'm using 3.4, which also 
> supports "fq=price:[10 TO 20]".  The problem is the results are not working 
> properly.
> 
> 
> 
> 
> ________________________________
>  From: Jan Høydahl <jan....@cominvent.com>
> To: solr-user@lucene.apache.org; Yuhao <nfsvi...@yahoo.com> 
> Sent: Thursday, February 9, 2012 7:45 PM
> Subject: Re: Range facet - Count in facet menu != Count in search results
>  
> Hi,
> 
> If you use trunk (4.0) version, you can say fq=price:[10 TO 20} and have the 
> upper bound be exclusive.
> 
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.cominvent.com
> Solr Training - www.solrtraining.com
> 
> On 10. feb. 2012, at 00:58, Yuhao wrote:
> 
> > I've changed the "facet.range.include" option to every possible value 
> > (lower, upper, edge, outer, all)**.  It only changes the count shown in the 
> > "Ranges" facet menu on the left.  It has no effect on the count and results 
> > shown in search results, which ALWAYS is inclusive of both the lower AND 
> > upper bounds (which is equivalent to "include = all").  Is this by design?  
> > I would like to make the search results include the lower bound, but not 
> > the upper bound.  Can I do that?
> > 
> > My range field is multi-valued, but I don't think that should be the 
> > problem.
> > 
> > ** Actually, it doesn't like "outer" for some reason, which leaves the 
> > facet completely empty.


Reply via email to