Re: Cloud Behavior when using numShards=1

2016-12-27 Thread Dave Seltzer
Thanks Erick, That's pretty much where I'd landed on the issue. To me Solr Cloud is clearly the preferable option here - especially when it comes to indexing and cluster management. I'll give "preferLocalShards" a try and see what happens. Many thanks for your in-depth analysis! -Dave Dave

Re: Cloud Behavior when using numShards=1

2016-12-27 Thread Erick Erickson
The form of the query doesn't enter into whether query is passed on to a different replica IIUC. preferLocalShards was created to keep this from happening though. There's discussion at https://issues.apache.org/jira/browse/SOLR-6832. BTW, "it's just a parameter". At root, the sugar methods

Re: Cloud Behavior when using numShards=1

2016-12-27 Thread Dave Seltzer
Hehe Good Tip :-) preferLocalShards may indeed be a good solution. I'll have to figure out how to pass that parameter using SolrNet. The queries are quite complex. We're sampling audio, calculating hashes and comparing them to known hashes. I'll paste an example below. Are nested queries more

Re: Cloud Behavior when using numShards=1

2016-12-27 Thread Dorian Hoxha
I think solr tries itself to load balance. Read this page https://cwiki.apache.org/confluence/display/solr/Distributed+Requests (preferLocalShards!) Also please write the query. tip: fill "send" address after completing email On Tue, Dec 27, 2016 at 4:31 PM, Dave Seltzer

Cloud Behavior when using numShards=1

2016-12-27 Thread Dave Seltzer
[Forgive the repeat here, I accidentally clicked send too early] Hi Everyone, I have a Solr index which is quite small (400,000 documents totaling 157 MB) with a query load which is quite large. I therefore want to spread the load across multiple Solr servers. To accomplish this I've created a