I'm trying to reach this:

Having this query:
q=table&bf=product(scale({!type=dismax qf=description,color v='with
color'},0,1),price)

And using on q (in solrconfig.xml) defType=dismax, qf=title, description

I'm trying to query for "table" and influence the score by doing the product
of the price with the score of the query "with color" on the fields
description and color, using defType dismax too and scaling from 0 to 1.

However I'm getting this error:
<lst name="error">
<str name="msg">undefined field: "qf"</str>
<int name="code">400</int>
</lst>

So how could I nest a query (with defType=dismax) inside the first parameter
of the scale function?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/bf-nested-queries-and-local-params-tp4035216.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to