add query->nquery for term query