JoinQParserPlugin uses a hardcoded lucene QParser
-------------------------------------------------
Key: SOLR-2972
URL: https://issues.apache.org/jira/browse/SOLR-2972
Project: Solr
Issue Type: Bug
Components: SearchComponents - other
Affects Versions: 4.0
Reporter: Pascal Dimassimo
Priority: Minor
In JoinQParserPlugin.java, the method createParser builds a QParser like this:
QParser fromQueryParser = subQuery(v, "lucene");
This prevent us from using this syntax to select a query parser for the join
operation:
qf=text name
q={!join from=manu_id_s to=id defType=dismax}ipod
As a workaround, we can use var dereferencing:
qf=text name
q={!join from=manu_id_s to=id v=$qq}
qq={!dismax}ipod
But according to Hoss, just replacing the hardcoded "lucene" with null should
allow to use the first syntax.
See this thread:
http://search-lucene.com/m/y2GA92nZr211&subj=Re+Solr+Join+with+Dismax
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]