Re: From Solr3.1 to SolrCloud

2012-11-26 Thread Mark Miller
On Mon, Nov 26, 2012 at 9:40 AM, roySolr wrote: > Mark: I'm using a separate zookeeper instance. I don't use the embedded zk in > solr. Doesn't matter either way. Clear deletes whole directories. -- - Mark

Re: From Solr3.1 to SolrCloud

2012-11-26 Thread roySolr
Mark: I'm using a separate zookeeper instance. I don't use the embedded zk in solr. I can't find the location where the configs are stored, i can login to zookeeper and see the configs. delete commando works but i can't delete the whole config directory in once, only file by file. Erick, The nodes

Re: From Solr3.1 to SolrCloud

2012-11-26 Thread Mark Miller
The command line util has a clear command. If you use the out of the box setup, it's something like: example/cloud-scripts/zkcli.sh -cmd clear /path/to/clear http://wiki.apache.org/solr/SolrCloud#Command_Line_Util - Mark On Nov 26, 2012, at 3:44 AM, roySolr wrote: > Ok, that's important for

Re: From Solr3.1 to SolrCloud

2012-11-26 Thread Erick Erickson
what is the _status_ of the "nodes that are already gone"? What is the test you run when you see this? It could just be that you're seeing nodes that are unresponsive but that ZK knows about. Best Erick On Mon, Nov 26, 2012 at 3:44 AM, roySolr wrote: > Ok, that's important for the traffic. > >

Re: From Solr3.1 to SolrCloud

2012-11-26 Thread roySolr
Ok, that's important for the traffic. Some questions about zookeeper. I have done some tests and i have the following questions: - How can i delete configs from zookeeper? - I see some nodes in the clusterstate that are already gone. Why is this not up-to-date? Same for graph. Thanks again!

Re: From Solr3.1 to SolrCloud

2012-11-23 Thread Tomás Fernández Löbbe
I think that's correct. Queries to the existing nodes will still work with no ZK. On Fri, Nov 23, 2012 at 7:16 AM, roySolr wrote: > Thanks Tomás for the information so far. > > You said: > You can effectively run with only one zk instance, the problem with this is > that if that instance dies,

Re: From Solr3.1 to SolrCloud

2012-11-23 Thread roySolr
Thanks Tomás for the information so far. You said: You can effectively run with only one zk instance, the problem with this is that if that instance dies, then your whole cluster will go down. When the cluster goes down i can still send queries to the solr instances? We have a lb that's choose a

Re: From Solr3.1 to SolrCloud

2012-11-22 Thread Tomás Fernández Löbbe
> > - I change my synonyms.txt on a solr node. How can i get zookeeper in sync > and the other solr nodes without restart? > Well, you can upload the whole collection configuration again with zkClient (included in the "cloud.scripts" section). see http://wiki.apache.org/solr/SolrCloud#Getting_your

Re: From Solr3.1 to SolrCloud

2012-11-22 Thread roySolr
I run a separate Zookeeper instance right now. Works great, nodes are visible in admin. Two more questions: - I change my synonyms.txt on a solr node. How can i get zookeeper in sync and the other solr nodes without restart? - I read something more about zookeeper ensemble. When i need to run wi

Re: From Solr3.1 to SolrCloud

2012-11-21 Thread Tomás Fernández Löbbe
> > I will use numshards=1. Are there some instructions on how to install only > zookeeper on a separate server? Or do i have to install solr 4 on that > server? > You don't need to install Solr in that server. See http://zookeeper.apache.org/doc/trunk/zookeeperStarted.html > > How make the conn

Re: From Solr3.1 to SolrCloud

2012-11-21 Thread roySolr
Thanks Tomás, I will use numshards=1. Are there some instructions on how to install only zookeeper on a separate server? Or do i have to install solr 4 on that server? How make the connection between the solr instances and the zk instance(server)? Thanks so far, Roy -- View this message in

Re: From Solr3.1 to SolrCloud

2012-11-21 Thread Tomás Fernández Löbbe
> > - We aren't using shards because our index only contains 1 mil simple docs. > We only need multiple server because the amount of traffic. In the examples > of solrCloud i see only examples with shards. Is numshards=1 possible? One > big index is faster than multiple shards? I need 1 collection

From Solr3.1 to SolrCloud

2012-11-21 Thread roySolr
hello, We are using solr 3.1 for searching on our webpage right now. We want to use the nice features of solr 4: realtime search. Our current configuration looks like this: Master Slave1 Slave2 Slave3 We have 3 slaves and 1 master and the data is replication every night. In the future we want to