Searching method and device

一种搜索方法和装置

Abstract

The invention provides a searching method and device. The searching method and device aim to solve the problems that an existing searching method is low in efficiency and high in waste of resources. The method comprises the steps of extracting the first N key words with the highest frequency of occurrence from target information released by target users to serve as target words and establishing an reverse index according to information on pages of the target users and the target words, wherein the reverse index includes target fields and page information fields; receiving a search word; searching for target users matched with the search word from the reverse index according to the search word; determining the relevancy between the matched target users and the search word according to the target fields and page information fields, sorting the matched target users according to the relevancy, and returning the matched target users. According to the searching method and device, searching of meaningless matching data is not needed during searching, searching efficiency is improved, and waste of resources is reduced.
本发明提供了一种搜索方法和装置,以解决现有搜索方法效率较低,并且比较浪费资源的问题。所述的方法包括:从目标用户发布的目标信息中抽取出现次数最高的前N个中心词作为目标词,并根据目标用户的页面上的信息和所述目标词建立倒排索引,其中,所述倒排索引中包括目标字段和页面信息字段;接收查询词;根据所述查询词,在所述倒排索引中查找与所述查询词匹配的目标用户;通过所述目标字段和页面信息字段,确定所述匹配的目标用户与查询词的相关度,将所述匹配的目标用户按照所述相关度排序并返回。本发明在搜索时不需要查找匹配无意义的数据,提高了搜索的效率,并且减少了资源的浪费。

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (4)

    Publication numberPublication dateAssigneeTitle
    CN-101206672-AJune 25, 2008北京科文书业信息技术有限公司Commercial articles searching non result intelligent processing system and method
    CN-101315624-ADecember 03, 2008阿里巴巴集团控股有限公司Text subject recommending method and device
    US-2004221235-A1November 04, 2004Insightful CorporationMethod and system for enhanced data searching
    US-2007078850-A1April 05, 2007Microsoft CorporationCommerical web data extraction system

NO-Patent Citations (0)

    Title

Cited By (1)

    Publication numberPublication dateAssigneeTitle
    CN-104035980-ASeptember 10, 2014王和平一种面向结构化医药信息的检索方法和系统