Re: Amount range and facet fields returns [facet_fields]

2009-01-09 Thread Erik Hatcher
On Jan 8, 2009, at 9:29 AM, Yevgeniy Belman wrote: the response i get when executing only the following, produces no facet counts. It could be a bug. facet.query=[price:[* TO 500], price:[500 TO *] That's an invalid query. If you want two ranges, use two facet.query parameters.

Re: Amount range and facet fields returns [facet_fields]

2009-01-08 Thread Yevgeniy Belman
Ah ok, the response i get when executing only the following, produces no facet counts. It could be a bug. facet.query=[price:[* TO 500], price:[500 TO *] However, when i add an unrelated facet field, i do get the desired count: query=[price:[* TO 500], price:[500 TO *]],q=*:*,facet.field=cat

Re: Amount range and facet fields returns [facet_fields]

2009-01-07 Thread Shalin Shekhar Mangar
On Thu, Jan 8, 2009 at 9:49 AM, Yevgeniy Belman wrote: > Hi, > > I am curious if this is expected behavior in a typical facet with range > query: > params={facet=true,facet.query=[price:[* TO 500], price:[500 TO > *]],q=*:*,facet.field=price > > i am getting back not only the: > facet_queries={pr

Amount range and facet fields returns [facet_fields]

2009-01-07 Thread Yevgeniy Belman
Hi, I am curious if this is expected behavior in a typical facet with range query: params={facet=true,facet.query=[price:[* TO 500], price:[500 TO *]],q=*:*,facet.field=price i am getting back not only the: facet_queries={price:[* TO 500]=2,price:[500 TO *]=3} but also: facet_fields={price={150.