lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2972) JoinQParserPlugin uses a hardcoded lucene QParser
Date Thu, 15 Dec 2011 19:38:30 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170439#comment-13170439
] 

Yonik Seeley commented on SOLR-2972:
------------------------------------

bq. But according to Hoss, just replacing the hardcoded "lucene" with null should allow to
use the first syntax.

+1
There was never an intent to prevent defType from working.
                
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message