Fixes #5121 add  New config setting to disable segment auto complete