You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2017/04/24 08:15:04 UTC

[jira] [Resolved] (SOLR-9217) {!join score=..}.. should delay join to createWeight

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

Mikhail Khludnev resolved SOLR-9217.
------------------------------------
    Resolution: Fixed

> {!join score=..}.. should delay join to createWeight
> ----------------------------------------------------
>
>                 Key: SOLR-9217
>                 URL: https://issues.apache.org/jira/browse/SOLR-9217
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>    Affects Versions: 6.1
>            Reporter: Mikhail Khludnev
>            Priority: Minor
>              Labels: newbie, newdev
>             Fix For: 6.6, master (7.0)
>
>         Attachments: SOLR_9217.patch, SOLR-9217.patch, SOLR-9217.patch
>
>
> {{ScoreJoinQParserPlugin.XxxCoreJoinQuery}} executes {{JoinUtil.createJoinQuery}} on {{rewrite()}}, but it's inefficient in {{filter(...)}} syntax -or fq- (!) I suppose it's {{filter()}} only problem, not fq. It's better to do that in {{createWeigh()}} as it's done in classic Solr {{JoinQuery}}, {{JoinQParserPlugin}}.
> All existing tests is enough, we just need to assert rewrite behavior - it should rewrite on enclosing range query or so, and doesn't on plain term query.  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org