or perhaps better is to use fq parameters to separate out filters versus full-text queries:

  ?q=DaVinci&fq=Price:[10 TO 40]

        Erik


On Jan 14, 2009, at 9:50 AM, Jana, Kumar Raja wrote:

Isn't this a single query on 2 parameters/fields?

Try q=DaVinci AND Price:[10 TO 40]

-----Original Message-----
From: prerna07 [mailto:pkhandelw...@sapient.com]
Sent: Wednesday, January 14, 2009 8:07 PM
To: solr-user@lucene.apache.org
Subject: How to do Query on multiple parameters



Our requirement is to make solr query on two or more attributes. for
example
the search criteria is DaVinci AND price between 10 TO 40
The query i am using is ;
?q=DaVinci&q=Price:[10 TO 40]

this query is returning me results for first query parameter only
(?q=DaVinc).

What should be the query for such multiple parameters.

Thanks,
Prerna
--
View this message in context:
http://www.nabble.com/How-to-do-Query-on-multiple-parameters-tp21457148p
21457148.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to