So using LocalParams with dollar-sign references to other parameters.

In LocalParams in general, you can use single-quotes for values that have spaces in them:

{!dismax qf='field^5 field2^10'}    =>   no problem

And even if the value does not have spaces, you can use single quotes too, why not:

{!dismax qf='field'}   => no problem

But when it comes to dollar sign variable dereferences, this does not seem to be true.

{!dismax qf=$some_qf} => no problem, and debugQuery reveals it is indeed using the qf I desire.

{!dismax qf='$some_qf'} => Solr throws "undefined field $some_qf".

Is this a bug in Solr?

Reply via email to