lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe <tomasflo...@gmail.com>
Subject Re: From Solr3.1 to SolrCloud
Date Wed, 21 Nov 2012 11:49:23 GMT
>
> - 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 with multiple
> nodes?
>
> Yes, you can use SolrCloud and specify the numShards=1. With 1M docs, I
would use one shard too, the overhead of the distribution may be bigger
than the time it takes to process a query on a single node with an index
this size (I do encourage you to test and see, because it usually depends
on more factors than just the index size, but I think 1 shard will be the
best).


> - Should i run a single zookeeper instance(without solr) on a seperate
> server?
>
Separate, and even better if you use a 3 zk ensemble, otherwise the
Zookeeper becomes a single point of failure.

>
> - Is the DIH still there in solr 4?
>
Yes, you'll see it in all nodes, and you can run it from any of them. That
said, you may see some improvements if you execute the DIH on the leader
node (which may not always be the same). I don't think the
dataimport.properties gets distributed though, you may have to figure that
out.


Tomás

>
> Any help is welcome!
>
> Thanks
> Roy
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/From-Solr3-1-to-SolrCloud-tp4021536.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message