You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by aniljayanti <an...@yahoo.co.in> on 2017/07/28 13:40:41 UTC

How to Join more than two(2) cores in solr query

Hi,

I am using solr6.2.1 in my project. I want to join more than 2 cores as per
the requirement.

core1 : empid
core2 : empid,sid,pid
core3 : sid,pid

i want to join core2 and core3 on [core2.sid = core3.sid and core2.pid =
core3.pid] and the resultant records of core2.empid should be joined with
core1.empid.

Below is my solr query to join core2.sid = core3.sid, but do not know how to
write the query to join 
core1.empid = core2.empid and core2.pid = core3.pid.
 
http://localhost:8983/solr/core2/select?q={!join from=sid to=sid
fromIndex=core3 v='*:*'}

currently i am not able to write solr query for above requirement.

Could you please help me out of this.

Thanks in advance,

AnilJayanti



--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-Join-more-than-two-2-cores-in-solr-query-tp4348067.html
Sent from the Solr - User mailing list archive at Nabble.com.