Re: SolrCloud and Join Queries

2013-01-06 Thread Per Steffensen
And you will have "loadbalancing" since a "random" of the replica behind the shard will be chosen to handle the query. On 1/6/13 3:10 AM, Otis Gospodnetic wrote: Hi Hassan, Correct. If you have a single shard, then the query will execute the query on only one node and that is it. Otis -- Solr

Re: SolrCloud and Join Queries

2013-01-05 Thread Otis Gospodnetic
Hi Hassan, Correct. If you have a single shard, then the query will execute the query on only one node and that is it. Otis -- Solr & ElasticSearch Support http://sematext.com/ On Sat, Jan 5, 2013 at 9:06 AM, Hassan wrote: > Missed the replicationFactor parameter. Works great now. > http:/

Re: SolrCloud and Join Queries

2013-01-05 Thread Hassan
Missed the replicationFactor parameter. Works great now. http://imm.io/RM66 Thanks a lot for you help, One last question. in terms of scalability, having this design of one collection per customer, with one shard and many replicas, A query will be handled by one shard (or replica) on one node o

Re: SolrCloud and Join Queries

2013-01-05 Thread Hassan
Thanks Per and Otis, It is much clearer now but I have a question about adding new solr nodes and collections. I have a dedicated zookeeper instance. Lets say I have uploaded my configuration to zookeeper using "zkcli" and named it, say, "configuration1". Now I want to create a new solrcloud f

Re: SolrCloud and Join Queries

2013-01-05 Thread Per Steffensen
Do you remember to add replicationFactor parameter when you create your "customer1" and "customer2" collections/shards? http://wiki.apache.org/solr/SolrCloud#Managing_collections_via_the_Collections_API (note that maxShardsPerNode and createNodeSet params are not available in 4.0.0, but will be

Re: SolrCloud and Join Queries

2013-01-05 Thread Hassan
Thanks Per and Otis, It is much clearer now but I have a question about adding new solr nodes and collections. I have a dedicated zookeeper instance. Lets say I have uploaded my configuration to zookeeper using "zkcli" and named it, say, "configuration1". Now I want to create a new solrcloud f

Re: SolrCloud and Join Queries

2013-01-04 Thread Otis Gospodnetic
Hi, I think things will work for Hassan as he described them. The key is not to shard in his case, that's all. Hassan, yes, 1-2M docs is small. But beware of creating a crazy number (e.g. thousands) of collections per server, as each collection has some cost. Otis -- Solr & ElasticSearch Suppor

Re: SolrCloud and Join Queries

2013-01-04 Thread Per Steffensen
On 1/4/13 9:21 AM, Hassan wrote: Hi, I am considering SolrCloud for our applications but I have run into the limitation of not being able to use Join Queries in distributed searches. Our requirements are the following: - SolrCloud will serve many applications where each application "index" i

SolrCloud and Join Queries

2013-01-04 Thread Hassan
Hi, I am considering SolrCloud for our applications but I have run into the limitation of not being able to use Join Queries in distributed searches. Our requirements are the following: - SolrCloud will serve many applications where each application "index" is separate from other application.