Thanks a lot for this information. But is there any way, I can impose the
range on the facet. 
for e.g. If I want to search the data between a specific range, how should I
form my query.

Do I need to make some entries some where.

Thanks,
Amit Garg



Shalin Shekhar Mangar wrote:
> 
> On Fri, Mar 20, 2009 at 1:14 PM, dabboo <ag...@sapient.com> wrote:
> 
>>
>> Hi,
>>
>> I am searching the indexes with facet query. Below is the query.
>>
>>
>> q=Answer&version=2.2&start=0&rows=10&indent=on&qt=dismaxrequest&facet=true&facet.field=productPrice_product_str_s:[0%20TO%2020]
>>
> 
> facet.field takes a field name. It does not accept queries. Use
> facet.query
> for getting count of a query. Use fq to restrict facets by a certain
> query.
> 
> See http://wiki.apache.org/solr/SimpleFacetParameters
> -- 
> Regards,
> Shalin Shekhar Mangar.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Issue-with-Facet-Query-tp22615577p22615979.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to