[ https://issues.apache.org/jira/browse/SOLR-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586457#comment-14586457 ]
Ryan Josal commented on SOLR-6234: ---------------------------------- [~neerajlajpal], glad you got it working. There might be a caution with using !scorejoin this way. The scores coming back from !scorejoin are from the query to the fromIndex, and so they're not really related to the score coming from the important_category matches. The matches from the scorejoin might have a really high max score, while the matches from the important_category might have a really low max_score, in a relative sense. Or vice versa. I think this use case is workable but it's something to keep in mind. > 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.3 > Reporter: Mikhail Khludnev > Labels: features, patch, test > Fix For: 5.3 > > Attachments: SOLR-6234.patch, SOLR-6234.patch > > > 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) > - {{score=none}} is *default*, eg if you *omit* this localparam > - supports {{b=100}} param to pass {{Query.setBoost()}}. > - {{multiVals=true|false}} is introduced > - there is a test coverage for cross core join case. > - so far it joins string and multivalue string fields (Sorted, SortedSet, > Binary), but not Numerics DVs. follow-up LUCENE-5868 > -there was a bug in cross core join, however there is a workaround for it- > it's fixed in Dec'14 patch. > Note: the development of this patch was sponsored by an anonymous contributor > and approved for release under Apache License. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org