fixes #14103, performance issue of full text custom search