In a distributed CouchDB cluster (i.e. every node has every shard, with cluster replication used for redundancy rather than load balancing), Lucene still appears to trigger internal CouchDB queries of every node, rather than just the 'local' node that it is configured to connect to.
In my situation I have a 3-node CouchDB cluster across 3 disperse datacenters, with a local Lucene instance at each site. Currently, I am seeing around 5TB of additional cluster traffic per month between the cluster nodes due to Lucene triggering full cluster queries.
Is there any way to leverage something like the stale=ok query parameter so that Couch does not need to query every node for each document?
In a distributed CouchDB cluster (i.e. every node has every shard, with cluster replication used for redundancy rather than load balancing), Lucene still appears to trigger internal CouchDB queries of every node, rather than just the 'local' node that it is configured to connect to.
In my situation I have a 3-node CouchDB cluster across 3 disperse datacenters, with a local Lucene instance at each site. Currently, I am seeing around 5TB of additional cluster traffic per month between the cluster nodes due to Lucene triggering full cluster queries.
Is there any way to leverage something like the
stale=ok
query parameter so that Couch does not need to query every node for each document?