摘要 |
The present invention relates to the field of computer communications technologies and discloses an information retrieval method and apparatus. In this solution, even if result information does not include a retrieval keyword, a matching value between the result information and each local matching model can be determined in a local matching model set according to a retrieval keyword group and a result keyword group that is determined according to a result information group. Then, a relevance degree is obtained according to the matching value between the result information and all local matching models. Therefore, the result information that has relatively high relevance with the retrieval instruction but does not include the retrieval keyword can still be presented to a user, which improves retrieval accuracy. |
主权项 |
1. An information retrieval method, comprising:
determining a retrieval keyword group from a received retrieval instruction, and retrieving a result information group from a retrieval database according to the retrieval instruction; and for each piece of result information in the retrieved result information group, separately performing the following steps: determining, according to the retrieval keyword group and a result keyword group, a matching value between the result information and each local matching model in a local matching model set, wherein the result keyword group is determined according to the result information group; calculating, according to the matching value between the result information and each local matching model, a relevance degree that is used to represent relevance between the result information and the retrieval instruction; and sorting, according to the relevance degree corresponding to each piece of result information, each piece of result information in the result information group, and presenting each piece of sorted result information. |