[ https://issues.apache.org/jira/browse/SOLR-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14243254#comment-14243254 ]
Parnit commented on SOLR-6234: ------------------------------ ok, trying the function query field I am getting back 0 results. testserver/solr/mainIndex/select?q={!scorejoin%20from=id to=id fromIndex=subIndex}view_rank&debugQuery=true metric1 is also an int type like you stated Here is the debug <str name="rawquerystring"> {!scorejoin from=id to=id fromIndex=subIndex}metric1 </str> <str name="querystring"> {!scorejoin from=id to=id fromIndex=subIndex}metric1 </str> <str name="parsedquery"> OtherCoreJoinQuery(OtherCoreJoinQuery [fromIndex=subIndex, fromCoreOpenTime=1418333501496 extends SameCoreJoinQuery [fromQuery=defaultSearch:"(metric1 view) rank", fromField=id , toField=id , scoreMode=None, boost=1.0]]) </str> <str name="parsedquery_toString"> OtherCoreJoinQuery [fromIndex=subIndex, fromCoreOpenTime=1418333501496 extends SameCoreJoinQuery [fromQuery=defaultSearch:"(metric1 view) rank", fromField=id, toField=id, scoreMode=None, boost=1.0]] </str> <lst name="explain"/> > 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: 4.10.3, Trunk > Reporter: Mikhail Khludnev > Labels: features, patch, test > Fix For: 5.0, Trunk > > Attachments: SOLR-6234.patch, 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}}- > {{multiVals=true|false}} is introduced > - -it doesn't cover cross core join case,- it covers cross-core join but > rather opportunistically.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!- done. thanks for your attitude! > - so far it joins string and multivalue string fields (Sorted, SortedSet, > Binary), but not Numerics DVs. follow-up LUCENE-5868 > *Caveat:* there is a bug in cross core join, however there is a workaround > for it. > 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