Issue #24298:add config option for auto starting search