lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reeuv <rahul.arora....@gmail.com>
Subject Search Query (Should I use fq)
Date Fri, 30 Dec 2011 08:06:20 GMT
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.

Mime
View raw message