use v2 query processor in v2 api