There's a special URI which allows to get index results only from the targeted node. It is used only for development and debugging, not meant to be public. Here follows an example where we query 2 different nodes from a 4 nodes cluster.
shell> curl -s 'http://192.168.1.80:9500/_set_view/default/_design/ddoc2/_view/view1?limit=4' {"total_rows":250000,"offset":0,"rows":[ {"id":"0000136","key":1,"value":"0000136"}, {"id":"0000205","key":1,"value":"0000205"}, {"id":"0000716","key":1,"value":"0000716"}, {"id":"0000719","key":1,"value":"0000719"} ]} shell> curl -s 'http://192.168.1.80:9500/_set_view/default/_design/ddoc2/_view/view1?limit=4' {"total_rows":250000,"offset":0,"rows":[ {"id":"0000025","key":1,"value":"0000025"}, {"id":"0000158","key":1,"value":"0000158"}, {"id":"0000208","key":1,"value":"0000208"}, {"id":"0000404","key":1,"value":"0000404"} ]}
Note: for this special API, the default value
of the stale parameter is stale=false, while
for the public, documented API the default is
stale=update_after.