Top-k query available with line and grid topologies.