Hi,

I am trying to pass empty values to fq parameter but passing null (or empty)
doesn't seem to work for fq.

Something like...

q=*:*&fq=(field1:test OR null)

We are trying to make fq more tolerant by making not fail whenever a
particular variable value is not passed..

Ex:

/select?q=*:*&fq=lname:$lname --> lname is empty here and I dont want the
query to fail rather than just do a pass through and return everything
(returned by q). I can't really use swich plugin directly as I have more
number of cases to handle hence I am trying to handle it by creating a
custom component extending the Qparserplugin..



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-pass-null-OR-empty-values-to-fq-tp4078081.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to