You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jack Lo (JIRA)" <ji...@apache.org> on 2014/07/10 03:11:05 UTC

[jira] [Commented] (SOLR-6234) Scoring modes for query time join

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

Jack Lo commented on SOLR-6234:
-------------------------------

It would be better to integrate this into the main JoinQParser where no scoring would just be the old and default behavior. And since you are using Lucene JoinUtils, we can get rid of the old code in JoinQParser as well.
I also have a patch that partially make join work in a distributed environment. It's in [SOLR-4905|https://issues.apache.org/jira/browse/SOLR-4905], but that's reusing code in JoinQParser and doesn't work if fromIndex has more than 1 shard. However, by fixing [LUCENE-3759|https://issues.apache.org/jira/browse/LUCENE-3759] and combining your patch, we can make distributed join work as long as all shards reside locally.

> Scoring modes for query time join 
> ----------------------------------
>
>                 Key: SOLR-6234
>                 URL: https://issues.apache.org/jira/browse/SOLR-6234
>             Project: Solr
>          Issue Type: New Feature
>          Components: query parsers
>    Affects Versions: 5.0, 4.10
>            Reporter: Mikhail Khludnev
>         Attachments: lucene-join-solr-query-parser-0.0.2.zip
>
>
> it adds {{scorejoin}} query parser which calls Lucene's JoinUtil underneath. It supports:
> - {{score=none|avg|max|total}} local param (passed as ScoreMode to JoinUtil), also 
> - supports {{b=100}} param to pass {{Query.setBoost()}}.
> So far
> - it always passes {{multipleValuesPerDocument=true}}
> - it doesn't cover cross core join case, I just can't find the multicore testcase in Solr test, I appreciate if you point me on one. 
> - I attach standalone plugin project, let me know if somebody interested, I convert it into the proper Solr codebase patch. Also please mention the blockers!



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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