The invention relates to a method for carrying out exploratory search for a bug problem based on a knowledge map. According to the method, information in a bug library and information in a commit library are effectively combined, related bug information is obtained by understanding content to be searched for, an entity relationship between the bug information and commit information is established, related bug report information, commit information, information of related personnel and similar bug information are listed, and thus the efficiency of software development and the efficiency of solving the bug problem by maintenance personnel are improved. The method overcomes the defects that in an existing method, the search result is not accurate, and it is needed to spend a lot of time in searching when the data size is large. In the method, the content input by a searcher is understood from the perspective of software developers and maintainers, and visual and accurate information is provided to help the searcher solve the bug problem which the user encounters. In this way, search time is shortened, and the accuracy of the search result is ensured; the purpose of the searcher is further predicted by recording information browsed by the searcher, and the software developers are helped to learn about and study knowledge related to the bug more comprehensively.