: Is there a specific reason why it is hard-coded to use the "lucene"
: QParser? I was looking at JoinQParserPlugin.java and here it is in
: createParser:
:
: QParser fromQueryParser = subQuery(v, "lucene");
:
: I could pass another param named "fromQueryParser" and use it instead of
: "lucene". But again, is there a reason why I should not do that?
It's definitley a bug, but we don't need a new local param: that hardcoded
"lucene" should just be replaced with null, so that the "defType"
local param will be checked (just like it can in the BoostQParser)...
qf=text name
q={!join from=manu_id_s to=id defType=dismax}ipod
Note: even with that hardcoded "lucene" bug, you can still override the
default by using var dereferencing to point at another param with it's own
localparams specying the type...
qf=text name
q={!join from=manu_id_s to=id v=$qq}
qq={!dismax}ipod
-Hoss