Go look in the source for the Join query parser. It does this.

Upayavira

On Thu, 26 Jul 2018, at 1:04 PM, Nicolas Franck wrote:
> I'm writing a solr plugin in java that has to query another solr 
> collection to gather
> information. What is the best way to do this?
> 
> For now I'm just using a SolrClient ( CloudSolrClient ), but has several 
> disadvantages:
> 
> * you have to extract from core metadata where your server resides, and 
> setup your SolrClient accordingly.
> * you are just knocking at the same door
> * search has to go over http for the same core.
> 
> Is there a better way? Are there any examples?
> 
> Thanks in advance
> 
> Nicolas Franck
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
> 

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

Reply via email to