Fix bug DNN-3763: add an overload method of GetSearchModules to include all modules and index those metadata.