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.

Reply via email to