Re: question about solrCloud joining

2019-08-23 Thread Mikhail Khludnev
for (Slice slice : > > > > > > > > > > > > > > > > > > > > zkController.getClusterState().getCollection(fromIndex).getActiveSlicesArr()) > > > > > { > > > > > if (fromReplica != null) > > > > &g

Re: question about solrCloud joining

2019-08-21 Thread Mikhail Khludnev
t; > zkController.getClusterState().getCollection(fromIndex).getActiveSlicesArr()) > > > > > { > > > > > if (fromReplica != null) > > > > > throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, > > > > > "

Re: question about solrCloud joining

2019-08-21 Thread Lisheng Wang
yet supported " + > > > > fromIndex); > > > > for (Replica replica : slice.getReplicas()) { > > > > if (replica.getNodeName().equals(nodeName)) { > > > > fromReplica = replica.getStr(ZkStateReader.CORE_NAME_PROP); > >

Re: question about solrCloud joining

2019-08-21 Thread Mikhail Khludnev
t; > > > if (fromReplica == null) > > > throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, > > > "SolrCloud join: No active replicas for "+fromIndex+ > > > " found in node " + nodeName); > > >

Re: question about solrCloud joining

2019-08-20 Thread Lisheng Wang
fromReplica; > > } > > > > > > when i run joining from movies on 8983, slice length is 2 as movies have > 2 > > shards. "fromReplica " was assigned in second cycle, because > zkController > > name is 8983 and replica name is 8984 in first cyc

Re: question about solrCloud joining

2019-08-20 Thread Mikhail Khludnev
2 as movies have 2 > shards. "fromReplica " was assigned in second cycle, because zkController > name is 8983 and replica name is 8984 in first cycle. > > but when run on 8984, "fromReplica" was assigned in first cycle, because > zkController name isand replica name

Re: question about solrCloud joining

2019-08-20 Thread Lisheng Wang
ond cycle. Thanks for your patience, it's too long. i'm confused about why use this way to judge "multiple shards", because the result is also wrong running on 8983 even if didnt throw exception. why dont use slice length>1 to judge "multiple shards" ? or maybe h

Re: question about solrCloud joining

2019-08-20 Thread Erick Erickson
ote: > > Hello, > > I have a question about solrCloud joining. i knew solrCloud joining can do > join only when index is not splited to shards, but when i test it, i found a > problem which make me confused. > > i tested it on version 8.2 > > assuming i hav

question about solrCloud joining

2019-08-19 Thread 王立生
Hello, I have a question about solrCloud joining. i knew solrCloud joining can do join only when index is not splited to shards, but when i test it, i found a problem which make me confused. i tested it on version 8.2 assuming i have 2 collections like sample about "joining" on so

Re: Question about solrcloud recovery process

2014-07-03 Thread Peter Keegan
ou should get the > count > of docs in it. > > Most likely, since the replica is recovering it is forwarding all queries > to > the active replica, this can be verified in the core logs. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.c

Re: Question about solrcloud recovery process

2014-07-03 Thread wrdrvr
.nabble.com/Question-about-solrcloud-recovery-process-tp4145450p4145491.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Question about solrcloud recovery process

2014-07-03 Thread Peter Keegan
No, we're not doing NRT. The search clients aren't using CloudSolrServer and they are behind an AWS load balancer, which calls the Solr ping handler (implemented with ClusterStateAwarePingRequestHandler) to determine when the node is active. This ping handler also responds during the index copy, wh

Re: Question about solrcloud recovery process

2014-07-03 Thread Mark Miller
I don’t know offhand about the num docs issue - are you doing NRT? As far as being able to query the replica, I’m not sure anyone ever got to making that fail if you directly query a node that is not active. It certainly came up, but I have no memory of anyone tackling it. Of course in many othe

Question about solrcloud recovery process

2014-07-03 Thread Peter Keegan
I bring up a new Solr node with no index and watch the index being replicated from the leader. The index size is 12G and the replication takes about 6 minutes, according to the replica log (from 'Starting recovery process' to 'Finished recovery process). However, shortly after the replication begin

Re: Some questions about Solrcloud

2014-06-28 Thread Shawn Heisey
On 6/28/2014 10:27 AM, spirtt0 wrote: > Great. I hope my last questions :) Does zookeeper manage changes in other xml > config files, except solrconfig.xml and schema.xml ? For example, if i add > new rule for delta-import to existing dataimport.xml, use zkCli for update > and reload collection - i

Re: Some questions about Solrcloud

2014-06-28 Thread spirtt0
dataimporthandler without restarting SolrCloud ? -- View this message in context: http://lucene.472066.n3.nabble.com/Some-questions-about-Solrcloud-tp4144463p4144580.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Some questions about Solrcloud

2014-06-27 Thread Shawn Heisey
On 6/27/2014 11:07 PM, spir...@gmail.com wrote: > Thanks for answers ! > > So all my changes i'll must provide via zookeeper ? I asking because this > moment confused me when i bootstrap one node with full config, then added 2 > nodes to cluster, but conf dirs on new appended nodes is empty > (s

Re: Some questions about Solrcloud

2014-06-27 Thread Shawn Heisey
On 6/27/2014 7:47 AM, spirtt0 wrote: > I have some question about Solrcloud: > > 1. Is it possible to update dataimport configuration without full server > restart ? I was tried do that with core reload via API, but configuration > for dataimporthandler wasn't change Are yo

Some questions about Solrcloud

2014-06-27 Thread spirtt0
Hi! I have some question about Solrcloud: 1. Is it possible to update dataimport configuration without full server restart ? I was tried do that with core reload via API, but configuration for dataimporthandler wasn't change 2. We want use SolrCloud with 3 replication nodes on separate se

Re:Re: 3 general questions about SolrCloud

2013-04-15 Thread SuoNayi
Thanks for clarification and I think I did make it clear. At 2013-04-16 01:59:59,"Shawn Heisey" wrote: >On 4/15/2013 9:58 AM, SuoNayi wrote: >> 1. What's the model between the master and replicas in one shard? >> If the replicas are able to catch up with the master when the master >> receives a

Re: 3 general questions about SolrCloud

2013-04-15 Thread Shawn Heisey
On 4/15/2013 9:58 AM, SuoNayi wrote: 1. What's the model between the master and replicas in one shard? If the replicas are able to catch up with the master when the master receives a update request it will scatter the request to all the active replicas and expect responses before the request get

3 general questions about SolrCloud

2013-04-15 Thread SuoNayi
Dear list, Sorry for these general questions and I'm really be mess now. 1. What's the model between the master and replicas in one shard? If the replicas are able to catch up with the master when the master receives a update request it will scatter the request to all the active replicas and expe

Re: Two questions about solrcloud

2012-11-07 Thread Tomás Fernández Löbbe
A transaction log file is opened after a hard commit and it stays open until a new hard commit is issued. Old tlogs are deleted, but always with the premise of keeping enough updates "lines" of tlog to allow peer-sync (currently, hardcoded to 100 updates). The recovery is made using the last tlog (

Re: Two questions about solrcloud

2012-11-07 Thread Otis Gospodnetic
Hi On Wed, Nov 7, 2012 at 7:49 AM, Tomás Fernández Löbbe wrote: > > 1.If I have a solrcloud cluster with two shards and 0 replica on two > > different server. > > when one of server restarts will the solr instance on that server replay > > the transaction log to make sure these operations pers

Re: Two questions about solrcloud

2012-11-07 Thread Tomás Fernández Löbbe
> 1.If I have a solrcloud cluster with two shards and 0 replica on two > different server. > when one of server restarts will the solr instance on that server replay > the transaction log to make sure these operations persistent to the index > files(commit the transaction log)? > Yes, the Solr i

Re: Two questions about solrcloud

2012-11-07 Thread Otis Gospodnetic
2012 1:41 AM, "SuoNayi" wrote: > Hi all,sorry for questions about solrcloud from newbie. > here is my two questions: > 1.If I have a solrcloud cluster with two shards and 0 replica on two > different server. > when one of server restarts will the solr instance on that s

Two questions about solrcloud

2012-11-06 Thread SuoNayi
Hi all,sorry for questions about solrcloud from newbie. here is my two questions: 1.If I have a solrcloud cluster with two shards and 0 replica on two different server. when one of server restarts will the solr instance on that server replay the transaction log to make sure these operations

Re: about SolrCloud

2010-09-15 Thread 郭芸
HI,all,i have found SolrCloud's webapp. it is in src/webapp/web 2010-09-15 郭芸 发件人: 郭芸 发送时间: 2010-09-15 10:33:49 收件人: User Solr 抄送: 主题: about SolrCloud Dear All: I am studying SolrCloud now,I downloaded it from:https://svn.apache.org/repos/asf/lucene/solr/branches/cloud/

about SolrCloud

2010-09-14 Thread 郭芸
Dear All: I am studying SolrCloud now,I downloaded it from:https://svn.apache.org/repos/asf/lucene/solr/branches/cloud/ but i found that there no webapps:https://svn.apache.org/repos/asf/lucene/solr/branches/cloud/example/webapps/ but we need http://localhost:8983/solr/collection1/admin/zookee