[ 
https://issues.apache.org/jira/browse/SOLR-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man resolved SOLR-2972.
----------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: Hoss Man

Committed revision 1215001. ... no CHANGES.txt entry since JoinQParser is 
unreleased code.

Pascal: thanks for catching this problem and following up with the Jira.


                
> 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
>            Assignee: Hoss Man
>            Priority: Minor
>             Fix For: 4.0
>
>
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to