Re: Solr Join Failures

2017-06-12 Thread Ray Niu
I am using following one:
http://lucene.apache.org/solr/5_4_1/solr-core/org/apache/solr/search/join/ScoreJoinQParserPlugin.html
q={!join from=id to=id fromIndex=B}id:*

2017-06-12 20:05 GMT-07:00 Zheng Lin Edwin Yeo :

> What is the query that you used to do the Join?
>
> There is the Streaming expression which has the various Join function, but
> it requires Solr version 6 onward.
> https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions
>
>
> Regards,
> Edwin
>
>
> On 13 June 2017 at 05:25, Ray Niu  wrote:
>
> > Hi:
> >We encounter an issue when using join query in Solr Cloud, our version
> > is 5.5.2. We will query collection A and join with Collection B in the
> > runtime, collection A and B always co-exist in the same node.
> >Sometimes we found collection B was down for some reason, while
> > collection A was still active, during that period if we issue join query,
> > we will see following errors:
> >  SolrCloud join: B has a local replica (B_shard1_replica1) on
> > solrCloud_node1:8080_solr, but it is down
> >   Can anyone provide any suggestions on such scenario?
> >
>


Re: Solr Join Failures

2017-06-12 Thread Zheng Lin Edwin Yeo
What is the query that you used to do the Join?

There is the Streaming expression which has the various Join function, but
it requires Solr version 6 onward.
https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions


Regards,
Edwin


On 13 June 2017 at 05:25, Ray Niu  wrote:

> Hi:
>We encounter an issue when using join query in Solr Cloud, our version
> is 5.5.2. We will query collection A and join with Collection B in the
> runtime, collection A and B always co-exist in the same node.
>Sometimes we found collection B was down for some reason, while
> collection A was still active, during that period if we issue join query,
> we will see following errors:
>  SolrCloud join: B has a local replica (B_shard1_replica1) on
> solrCloud_node1:8080_solr, but it is down
>   Can anyone provide any suggestions on such scenario?
>


Solr Join Failures

2017-06-12 Thread Ray Niu
Hi:
   We encounter an issue when using join query in Solr Cloud, our version
is 5.5.2. We will query collection A and join with Collection B in the
runtime, collection A and B always co-exist in the same node.
   Sometimes we found collection B was down for some reason, while
collection A was still active, during that period if we issue join query,
we will see following errors:
 SolrCloud join: B has a local replica (B_shard1_replica1) on
solrCloud_node1:8080_solr, but it is down
  Can anyone provide any suggestions on such scenario?