Re: Inconsistency in results between replicas using CloudSolrClient

2017-08-01 Thread Erick Erickson
re: automated tests. In the Solr JUnit tests you'll see this pattern - create collection - add a bunch of docs - do a commit - now test consistency Which, of course, doesn't particularly help if you're indexing after the commit. For things like soft commit tests special care is taken to allow th

Re: Inconsistency in results between replicas using CloudSolrClient

2017-08-01 Thread Chris Troullis
Thanks for the reply Erick, I feared that would be the case. Interesting idea with using the fq but not sure I like the performance implications. I will see how big of a deal it will be in practice, I was just thinking about this as a hypothetical scenario today, and as you said, we have a lot of a

Re: Inconsistency in results between replicas using CloudSolrClient

2017-08-01 Thread Erick Erickson
You're understanding is correct. As for how people cope? Mostly they ignore it. The actual number of times people notice this is usually quite small, mostly it surfaces when automated test suites are run. If you must lock this up, and you can stand the latency you could add a timestamp for each d