Hi,

Is there anything in SolrCloud that would support query-node/shard
affinity/stickiness?

What I mean by that is a mechanism that is smart enough to keep
sending the same query X to the same node(s)+shard(s)... with the goal
being better utilization of Solr and OS caches?

Example:
* Imagine a Collection with 2 shards and 3 replicas: s1r1, s1r2, s1r3,
s2r1, s2r2, s2r3
* Query for "Foo Bar" comes in and hits one of the nodes, say s1r1
* Since shard 2 needs to be queried, too, one of its 3 replicas needs
to be searched.  Say s2r1 gets searched
* 5 minutes later the same query for "Foo Bar" comes in, say it hits s1r1 again
* Again shard 2 needs to be searched.  But which of the 3 replicas
should be searched?
* Ideally that same s2r1 would be searched

Is there anything in SolrCloud that can accomplish this?
Or if there a place in SolrCloud where such "query hash ==>
node/shard" mapping could be implemented?

Thanks,
Otis
--
Solr & ElasticSearch Support
http://sematext.com/

Reply via email to