implement _design/view query feature