I am looking to write a query in which a user will enter two conditions i.e. 
                  Search for description:<text> where
category:<someCategory>

So whats the best way to query it

1. q = (description:text) AND (category:someCategory)

or

2. q = (description:text) AND (fq=category:someCategory)

or Is there a better way then the ones written above ?

Thanks
Rahul

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-Query-Should-I-use-fq-tp3620521p3620521.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to