Allow query mode configuration