I think you need to use parameter substitution for those nested queries
since the "boost" parameter takes a white-space delimited sequence of
function queries.
-- Jack Krupansky
-----Original Message-----
From: Kamal Kishore Aggarwal
Sent: Tuesday, June 3, 2014 2:22 AM
To: solr-user@lucene.apache.org
Subject: Nested boosting in map function in solr?
Dear Team,
I am trying to implement nested boosting in solr using map function.
http://www.example.com:8984/solr/collection1/select?&q=laundry
services&boost=map(query({!dismax
qf=titlex !v=$ql3 pf=""}),0,0,1,map(query({!dismax qf=city v='"mumbai"'
pf=""}),0,0,1,15))&ql3="laundry services".
But this is reporting the following error:
"msg":"org.apache.solr.search.SyntaxError: Expected ',' at position 69 in
'map(query({!dismax qf=titlex v=$ql3 pf=\"\"}),0,0,1,map(query({!dismax
qf=city v='\"mumbai\"' pf=\"\"}),0,0,1,15))'",
Regards
Kamal Kishore