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

Utkarsh Sengar edited comment on SOLR-4905 at 8/13/13 12:09 AM:
----------------------------------------------------------------

@Chris I have solrcloud 4.4 running with 3 shards and 2 cores. A cross-core 
join does not work even when cores are created during the bootstrap time. 

This is my query:
 {noformat} http://SOLR_SERVER/solr/merchant/select?q={!join from=merchantId 
to=merchantId fromIndex=deals}apple  {noformat} 

This query returns no documents, full response with debugQuery=true: 
http://apaste.info/uHOw

But both of my cores have a common merchantId when I query for "apple". So I 
think this problem is a general problem in solrcloud.
                
      was (Author: zengr):
    @Chris I have solrcloud 4.4 running with 3 shards and 2 cores. A cross-core 
join does not work even when cores are created during the bootstrap time. 

This is my query:
http://SOLR_SERVER/solr/merchant/select?q={!join from=merchantId to=merchantId 
fromIndex=deals}apple

This query returns no documents, full response with debugQuery=true: 
http://apaste.info/uHOw

But both of my cores have a common merchantId when I query for "apple". So I 
think this problem is a general problem in solrcloud.
                  
> Cross core joins don't work for SolrCloud collections and/or aliases
> --------------------------------------------------------------------
>
>                 Key: SOLR-4905
>                 URL: https://issues.apache.org/jira/browse/SOLR-4905
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Philip K. Warren
>
> Using a non-SolrCloud setup, it is possible to perform cross core joins 
> (http://wiki.apache.org/solr/Join). When testing with SolrCloud, however, 
> neither the collection name, alias name (we have created aliases to SolrCloud 
> collections), or the automatically generated core name (i.e. 
> <collection>_shard1_replica1) work as the fromIndex parameter for a 
> cross-core join.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to