#NEWLINE# def search( self , pattern = None , ignorecase = True , exclude_index = False ) : #NEWLINE# #INDENT# ' Get all an info dict from your exported conans\n        param paths: ConanPaths object\n        param pattern: these could be conan_reference or wildcards, e.g., "opencv/*"\n        ' #NEWLINE# if ( ( not self . _search_engine ) or exclude_index ) : #NEWLINE# #INDENT# result = SearchInfo ( ) #NEWLINE# conans = self . _exported_conans ( pattern , ignorecase ) #NEWLINE# for conan_reference in conans : #NEWLINE# #INDENT# result [ conan_reference ] = self . _single_conan_search ( conan_reference ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self . _search_engine . search_conanfiles ( pattern ) [ 1 ] #NEWLINE# #UNINDENT# except Exception as exc : #NEWLINE# #INDENT# logger . error ( exc ) #NEWLINE# logger . error ( traceback . format_exc ( ) ) #NEWLINE# raise ConanException ( 'Something went bad with the search. Please try again later.' ) #NEWLINE# #UNINDENT# #UNINDENT# return result