Erik, I am trying to enable / disable a part of fq based on a particular value passed from the query.
For Ex: If I have the value for the keyword where in the query then I would like to enable this fq, else just ignore it.. select?where="New york,NY" Enable only when where has some value. (I get the value passed in query inside fq - using $where) I need something like.. *if($where!=null){* <str name="fq"> {!bbox pt=$fps_latlong sfield=geo d=$fps_dist} </str> *}* Is it possible to achieve this using the switch query parser? Thanks, BB -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-4-3-0-How-to-make-fq-optional-tp4066592p4066624.html Sent from the Solr - User mailing list archive at Nabble.com.