Hello,
I think I have found something extrange with local params and edismax. If I do
querys like :
"params":{
"hl.requireFieldMatch":"true",
"hl.fragsize":"200",
"json.wrf":"callback0",
"indent":"on",
"hl.fl":"domicilio,deno",
"wt":"json",
"hl":"true",
"rows":"5",
"fl":"oidEmpresa,codNif,codTpoEmp,codVidaEmp,denoDef",
"debugQuery":"on",
"q":"{!edismax qf=$tipoDeno^5 pf=$tipoDeno^30 ps=5 qs=1}construcciones
garcía",
"tipoDeno":"deno",
"f.domicilio.hl.alternateField":"domicilioDef",
"fq":"-codTpoNif:F"}},
The highlighting section of the response looks like:
"highlighting":{
"75663":{
"domicilio":["P45 FOO BAR"],
"deno":["V00T06 <em>FOO BAR</em>"]},
"76021":{
"domicilio":["P45 BLAH BLAH"],
"deno":["V00T00 BLAH BLAH"]},
But if I repeat the query with:
"q":"{!edismax qf='$tipoDeno^5 ANOTHER_FIELD' pf=$tipoDeno^30 ps=5 qs=1}
construcciones garcía"
tipoDeno = deno
The debug show:
"parsedquery":"+((DisjunctionMaxQuery((deno:construcciones))
DisjunctionMaxQuery((deno:garcia)))~2)",
"parsedquery_toString":"+(((deno:construcciones) (deno:garcia))~2)",
And there is no reference to "anotherField" field and the highlight of the
field deno dissapear in the response.
"highlighting":{
"75663":{
"domicilio":["P45 FOO BAR"],
"76021":{
"domicilio":["P45 BLAH BLAH"],