Re: Solr Collection Create API queries

2016-09-09 Thread Swathi Singamsetty
Thank you Anshum. I would try the approach of managing it from outside first and see how it works. On Fri, Sep 9, 2016 at 1:51 PM, Anshum Gupta wrote: > If you want to build a monitoring tool that maintains a replication factor, > I would suggest you use the Collections APIs (ClusterStatus, AddR

Re: Solr Collection Create API queries

2016-09-09 Thread Anshum Gupta
If you want to build a monitoring tool that maintains a replication factor, I would suggest you use the Collections APIs (ClusterStatus, AddReplica, DeleteReplica, etc.) and manage this from outside of Solr. I don't want to pull you back from trying to build something but I think you'd be biting a

Re: Solr Collection Create API queries

2016-09-09 Thread Swathi Singamsetty
I am experimenting on this functionality and see how the overseer monitors and keeps the minimum no of replicas up and running. In heavy indexing/search flow , if any replica goes down we need to keep the minimum no. of replicas up and running to serve the traffic and mainitain the availability o

Re: Solr Collection Create API queries

2016-09-09 Thread Anshum Gupta
Just to clarify here, I said that I really think it's an XY problem here. I still don't know what is being attempted/built. >From the last email, sounds like you want to build/support auto-addition of replica but I would wait until you clarify the use case to suggest anything. -Anshum On Fri, Se

Re: Solr Collection Create API queries

2016-09-09 Thread Erick Erickson
I think you're missing my point. The _feature_ may be there, you'll have to investigate. But it is not named "smartCloud" or "autoManageCluster". Those terms 1> do not appear in the final patch. 2> do not appear in any file in Solr 6x. They were suggested names, what the final implementation used

Re: Solr Collection Create API queries

2016-09-09 Thread Swathi Singamsetty
I am working on solr 6.0.0 to implement this feature. I had a chat with Anshum and confirmed that this feature is available in 6.0.0 version. The functionality is that to allow the overseer to bring up the minimum no. of replicas for each shard as per the replicationFactor set. I will look into

Re: Solr Collection Create API queries

2016-09-09 Thread Erick Erickson
You cannot just pick arbitrary parts of a JIRA discussion and expect them to work. JIRAs are places where discussion of alternatives takes place and the discussion often suggests ideas that are not incorporated in the final patch. The patch for the JIRA you mentioned, for instance, does not mention

Solr Collection Create API queries

2016-09-08 Thread Swathi Singamsetty
Hi Team, To implement the feature "Persist and use the replicationFactor,maxShardsPerNode at Collection&Shard level" am following the steps mentioned in the jira ticket https://issues.apache.org/jira/browse/SOLR-4808. I used the "smartCloud" and "autoManageCluster" properties to create a collecti