On 1/15/2018 12:52 PM, Webster Homer wrote:
When I don't have score in the sort, the solr_returned and count are the same
I don't know what "solr_returned" means. I haven't encountered that before, and nothing useful turns up in a google search.
If you're getting different numFound values for the same query and the index hasn't changed, there are two possible causes that I know of. One is replicas out of sync as already described, the other is having documents with the same uniqueKey value in more than one shard. If the count is always the same with one sort, then I am leaning towards the latter cause.
Which router does your collection use? If it's implicit, how are you deciding which shard gets which document? If it's compositeId, have you changed your hash ranges without deleting everything and building the index again?
Thanks, Shawn