The present invention relates generally to information search and retrieval. More specifically, systems and methods are disclosed for improving Internet searches using vertical domains.
The web creates new challenges for information retrieval. The amount of information on the web is growing rapidly. With new and easier to use web tools, users with less or no formal web training are able to access websites. Many search engines, such as Google and Yahoo!, allow users to search and retrieve information. These conventional search engines are horizontal in nature. They index the entire web. Then, search queries provided by users are searched against this index and the most relevant results are returned. However, because of the vast quantity of information available on the Internet, as well as the complexity of such information, increasingly complex search expressions are needed to extract useful information from such horizontal indexes.
Moreover, because words often have more than one meaning, search terms often retrieve unintended categories of documents. For example, the word “tiger” can mean the carnivorous animals that are only found in parts of Asia. It is also the last name of golf legend Tiger Woods as well as the name of a Macintosh operating system. Thus, use of the term “tiger” as a search term in a conventional search engine is likely to retrieve a mishmash of documents including some having to do with animals, some having to do with golf, and some having to do with operating systems. The sponsored links and/or advertisements returned with such a search query will similarly be all over the map. To illustrate the problem, in response to the search query “tiger” recently entered into Google, the top responses included a link to the computer peripherals store TigerDirect.com, a link to the “Save the Tiger Fund,” a link to the Macintosh OS X tiger operating system, a link to “Tiger Haven” (a sanctuary for lions, tigers, and jaguars), a link to the Official Website for Tiger Woods, as well as an advertisement to search for “tigers” on eBay.com. Thus, because the same phrases have completely different meaning to different people, an ambiguity in search expressions is often unavoidable. This makes information search and retrieval more difficult and poses a significant problem to users. It is also problematic to web portals because of the inability to server focused advertisements that are truly relevant to search queries provided by users.
One way to address the ambiguities inherent in text based search expressions is to limit searches to databases that are themselves limited to particular subjects. Web search engines (e.g., dmoz, Yahoo!, looksmart, etc.) provide such subject specific databases. For example, dmoz has collected millions of sites which are then classified into thousands of categories. These categories are arranged in a hierarchical fashion.
In contrast to dmoz, search engines such as looksmart and Yahoo! provide a flat non-hierarchical listing of categories of topics. However, the drawback with such approaches is that it presupposes that the user actually knows which category a particular search query should be directed towards. But the user often has no idea what category to search. Should one search for questions about gardens in the “food category” or the “home living” category? Should golf shoes be searched in “style”, “sports” or “clothing” ? Does the “finance” category cover mutual funds, given that there is a wholly separate “mutual funds” category? Thus, the drawback with portals such as looksmart and Excite! is that there is no effective way to communicate to the portal which category to search, prior to conducting that actual search.
Given the above background, what is needed in the art are improved systems and methods for searching for documents using the Internet or other wide area network.
The present invention provides vertical suggestions in response to user input. Typically this input is by way of a keyboard or other data entry device. A user enters letters and/or words on the data entry device, and the system converts these letters and/or words into one or more queries for candidate vertical collections. The system evaluates the candidate vertical collections and returns a list of names of relevant candidate vertical collections. The user may then continue the interaction by selecting one of the suggested candidate vertical collections. The system will then search the selected vertical collection and return a list of documents from that selected vertical collection that are relevant to the user input.
One aspect of the present invention provides a computer program product for use in conjunction with a server computer system. The computer program product comprises a computer readable storage medium and a computer program mechanism embedded therein. The computer program mechanism comprises instructions for receiving a vertical search query from a remote client computer system. The computer program mechanism further comprises instructions for identifying a plurality of candidate vertical collections that are related to the vertical search query in a vertical index. For each respective candidate vertical collection in the plurality of candidate vertical collections, there is a vertical search query relevance score associated with the respective candidate vertical collection. The computer program mechanism further comprises instructions for communicating a name of each candidate vertical collection in the plurality of candidate vertical collections to the remote client computer system together with the vertical search query relevance score of each candidate vertical collection in the plurality of candidate vertical collections.
In some embodiments, each candidate vertical collection in the plurality of candidate vertical collections comprises documents that relate to a particular category. In some instances, vertical search query comprises a single character whereas in other instances the vertical search query comprises a plurality of atomic vertical search queries, where terms in the plurality of atomic vertical search queries are optionally separated from each other by one or more predicate conditions (e.g., AND, OR, NOT). In instances where the vertical search query comprises a plurality of atomic vertical search queries, the instructions for identifying further comprise instructions for decomposing the vertical search query into the plurality of atomic vertical search queries, instructions for determining, for each respective atomic vertical search query in the plurality of atomic vertical search queries, a plurality of vertical collections that are related to the respective atomic vertical search query, and instructions for combining each plurality of vertical collections that are related to a respective atomic vertical search query in the plurality of atomic vertical search queries into the plurality of candidate vertical collections.
In some embodiments, only vertical collections that are in each of the pluralities of atomic vertical search queries are included in the plurality of candidate vertical collections. In some embodiments, only vertical collections, in a given plurality of vertical collections related to an atomic vertical search query (or the entire vertical search query when such a query comprises only a single term), that have a high relevancy score, score(t,v), with respect to the atomic vertical search query are included in the plurality of candidate vertical collections. In some embodiments, the relevancy score, score(t,v), for a vertical collection in the given plurality of vertical collections, relative to the atomic vertical search query, is determined by the formula:
where score (t,d) is a score for a document in the vertical collection and w(d,v) is a weight assigned to the vertical collection. In some embodiments, w(d,v) is a weight that upweights the vertical collection when the vertical collection contains documents with a high incidence of the atomic vertical search query. In some embodiments, w(d,v) is a weight that upweights the vertical collections when the vertical collection has a high prevalence of the atomic vertical search query in the highest ranked documents within the vertical collection. In some embodiments, w(d,v) is unity. In some embodiments, w(d,v) is a function of a popularity of the vertical collection or an aggregation of the link density for documents within the vertical collection. In some embodiments,
where f(d,t) is a number of times the atomic vertical search occurs in document (d) of the vertical collection, f(N) is a function of the number of vertical collections tracked by the server computer system, v(t) is a number of vertical collections in the given plurality of vertical collections, and A and B are constants. In some embodiments, f(N) is, Mv, the number of vertical collections tracked by the server computer system, log(Mv) or Mv. In some embodiments
score(t,d)=f(d,t)
where f(d,t) is a number of times the atomic vertical search occurs in document (d) of the vertical collection.
In some embodiments, the relevancy score, score(t,v), for a vertical collection in the given plurality of vertical collections, relative to the atomic vertical search query (or the entire vertical search query when it is a single term), is determined by the formula:
where f(d,t) is a number of times the atomic vertical search occurs in document (d) of the vertical collection, f(N) is a function of the number of vertical collections tracked by the server computer system, v(t) is a number of vertical collections in the given plurality of vertical collections, A and B are constants, and w(d,v) is a weight.
In some embodiments, the relevancy score, score(t,v), for a vertical collection in the given plurality of vertical collections, relative to the atomic vertical search query, is determined by the formula:
where f(d,t) is a number of times the atomic vertical search occurs in document (d) of the vertical collection, f(N) is a function of the number of vertical collections tracked by the server computer system, v(t) is a number of vertical collections in the given plurality of vertical collections, A, B, C, D, μ1 and μ2 are constants, and w(d,v) is a weight.
Another aspect of the present invention provides a computer comprising a central processing unit and a memory coupled to the central processing unit. The memory stores instructions for receiving a vertical search query from a remote client computer system. The memory further stores instructions for identifying a plurality of candidate vertical collections that are related to the vertical search query in a vertical index. For each respective candidate vertical collection in the plurality of candidate vertical collections, there is a vertical search query relevance score associated with the respective candidate vertical collection. The memory further stores instructions for communicating a name of each candidate vertical collection in the plurality of candidate vertical collections to the remote client computer system together with the vertical search query relevance score of each candidate vertical collection in the plurality of candidate vertical collections.
Still another aspect of the present invention provides a computer program product for use in conjunction with a server computer system. The computer program product comprises a computer readable storage medium and a computer program mechanism embedded therein. The computer program mechanism comprises a vertical index comprising a plurality of vertical index lists. A vertical index list in the plurality of vertical index lists comprises a head term and a plurality of vertical collection identifiers. Each vertical collection referenced by a vertical collection identifier in the plurality of vertical collection identifiers comprises documents that include the head term. In some embodiments, a vertical index list in the plurality of vertical index lists further comprises a head term specific relevancy score, score(t,v), for each vertical collection in a plurality of vertical collections referenced by a vertical collection identifier in the plurality of vertical collection identifiers.
Still another aspect of the present invention provides a computer comprising a central processing unit (CPU) and a memory coupled to the CPU is provided. The memory includes a vertical index comprising a plurality of vertical index lists. Each vertical index list comprises a head term and a plurality of vertical collection identifiers. Each vertical collection referenced by a vertical collection identifier comprises documents that include the head term. The memory further comprises instructions for receiving a vertical search query from a remote client and instructions for identifying a plurality of candidate vertical collections related to the vertical search query. For each vertical collection in the plurality of candidate vertical collections, there is a vertical search query relevance score associated with the vertical collection. The memory further includes instructions for communicating a name of each candidate collection in the plurality of candidate collections to the remote client together with the search query relevance scores for the candidate collections.
Like reference numerals refer to corresponding parts throughout the several views of the drawings.
The present invention differs from known search engines. In the present invention, vertical collections are used rather than using an index that represents the entire Internet. A “vertical collection” comprises a set of documents (e.g., URLs, websites, etc.) that relate to a common category. For example, web pages pertaining to sailboats could constitute a “sailboat” vertical collection. Web pages pertaining to car racing could constitute a “car racing” collection. Users search a vertical collection so that only documents relevant to the category represented by the vertical collection are returned to the user. Advantageously, the present invention provides systems and methods for helping a searcher identify the right vertical collection to search.
As shown in
Before turning to details on how vertical engine server 110 generates the list of candidate vertical collections for a given search query, screen shots of candidate vertical collections returned by an embodiment of vertical engine server 110 are provided as
To illustrate the concepts of the invention, consider the search expression “tiger.” As illustrated in
Referring to
Referring to
Referring to
Thus, continuing to refer to
An overview of the systems and methods of the present invention has been disclosed. From this overview, the many advantages and features of the present invention are apparent. The present invention automatically provides a user with a list of candidate vertical collections that can be used as the target of a user directed query. By using the systems and methods of the present invention, a user can search a target vertical collection for documents related to a search query with a minimal amount of effort needed to select the target vertical collection from among a list of candidate vertical collections. Thus, using the present invention, there is no longer a need to navigate through hierarchical lists of categories or to sift through search results obtained from a broad search of the entire Internet for documents related to a given search query.
Now that an overview of the invention and advantages of the present invention have been presented, a more detailed description of the systems and methods of the present invention will be disclosed. To this end,
Computer system 400, will typically have a user interface 404 (including a display 406 and a keyboard 408), one or more processing units (CPU's) 402, a network or other communications interface 410, memory 414, and one or more communication busses 412 for interconnecting these components. Memory 414 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic disk storage devices (not shown). Memory 414 can include mass storage that is remotely located from the central processing unit(s) 402. Memory 414 preferably stores:
an operating system 416 that includes procedures for handling various basic system services and for performing hardware dependent tasks;
a network communication module 418 that is used for connecting system 400 to various client computers 100 (
a query handler 420 for receiving a vertical search query from a client computer 100;
a search engine 422 for searching a selected vertical collection 450 for documents 466 related to a vertical search query and for forming a group of ranked documents that are related to the search query;
a vertical search engine 424, for searching vertical index 442 for one or more vertical index lists 444 that are relevant to a given vertical search query;
a vertical index construction module 460 for constructing vertical index 442; and
an index construction module 464 for constructing a document index 462 from a set of documents 466.
The methods of the present invention begin before a vertical search query is received by query handler 420 with index construction module 464. Index construction module 464 constructs a document index 462 by scanning documents 466 for relevant search terms. An illustration of document index 462 is illustrated below:
In some embodiments, document index 462 is constructed by index construction module 464 using conventional indexing techniques. Exemplary indexing techniques are disclosed in United States Patent publication 20060031195, which is hereby incorporated herein by reference in its entirety. By way of illustration, in some embodiments, a given term may be associated with a particular document when the term appears more than a threshold number of times in the document. In some embodiments, a given term may be associated with a particular document when the term achieves more than a threshold score. Criteria that can be used to score a document relative to a candidate term include, but are not limited to, (i) a number of times the candidate term appears in an upper portion of the document, (ii) a normalized average position of the candidate term within the document, (iii) a number of characters in the candidate term, and (iv) a number of times the document is referenced by other documents. High scoring documents are associated with the term. Document index 462 stores the list of terms, a document identifier uniquely identifying each document associated with terms in the list of terms, and the scores of these documents. Those of skill in the art will appreciate that there are numerous methods for associating terms with documents in order to build document index 462 and all such methods can be used to construct document index 462 of the present invention.
There is no limit to the number of terms that may be present in document index 462. In some embodiments, all combinations of character strings between 1 and 10 ASCII characters in length are represented as terms in document index 462. In some embodiments all combinations of character strings between 1 and 20 ASCII characters in length are represented as terms in document index 462. In some embodiments, all combinations of character strings between 1 and 30 ASCII characters in length are represented as terms in document index 462. In still other embodiments, all combinations of character strings between 1 and 50 ASCII characters in length are represented as terms in document index 462. Moreover, there is no limit on the number of documents 466 that can be associated with each term in document index 462. For example, in some embodiments, between zero and 100 documents 466 are associated with a search term, between zero and 1000 documents 466 are associated with a search term, between zero and 10,000 documents 466 are associated with a search term, or more than 10,000 documents 466 are associated with a search term with document index 462. Moreover, there is no limit on the number of search terms to which a given document 466 can associate. For example, in some embodiments, a given document 466 is associated with between zero and 10 search terms, between zero and 100 search terms, between zero and 1000 search terms, between zero and 10,000 search terms, or more than 10,000 search terms.
In the context of this application, documents 466 are understood to be any type of media that can be indexed and retrieved by a search engine, including web documents, images, multimedia files, text documents, PDFs or other image formatted files, ringtones, full track media, and so forth. A document 466 may have one or more pages, partitions, segments or other components, as appropriate to its content and type. Equivalently a document 466 may be referred to as a “page,” as commonly used to refer to documents on the Internet. No limitation as to the scope of the invention is implied by the use of the generic term “documents.” In the present invention, there are many documents 466 indexed by index construction module 464. Typically, there are more than one hundred thousand documents, more than one million documents, more than one billion documents, or even more than one trillion documents indexed by index construction module 464.
Vertical collections 450 are constructed using documents in document index 462 that pertain to a particular non-hierarchical category. For example, one vertical collection 450 may be constructed from documents indexed by document index 462 that pertain to movies, another vertical collection 450 may be constructed from documents indexed by document index 462 that pertain to sports, and so forth. Vertical collections 450 can be constructed, merged, or split in a relatively straightforward manner by the vertical engine server system operator. In some embodiments, there are hundreds of vertical collections 450 set up in this manner. In some embodiments, there are thousands of vertical collections 450 set up in this manner.
Once document index 462 has been constructed by index construction module 464, it is possible for vertical index construction module 460 to construct vertical index 442. To accomplish this, each vertical collection 450 is inverted. Recall from
In some embodiments, each DocId in the vertical collection 450 further includes a document quality score assigned by index construction module 464. Inversion of each of the vertical collections 450 and the merging of each of these inverted vertical collections leads to an inverted document-vertical index having the following data structure:
Thus, for each given document 466 in document index 462, a list of vertical collections 450 associated with the given document are provided in the inverted document-vertical index. There can be several vertical collections 450 associated with any given document. Further, there is no requirement that each document 466 be associated with a unique set of vertical collections 450.
With the inverted document-vertical index, it is now possible to create vertical index 442 by substituting the document identifiers in document index 462 with the corresponding vertical collections associated with such document identifiers as set forth in the inverted document-vertical index. In one approach, this is done by scanning document index 462 on a termwise basis, and collecting the set of vertical collections 450 that are associated with the documents that are, themselves, associated with each term as set forth in the inverted document-vertical index. For example, consider a term 1 in the exemplary document index 462 presented above. According to document index 462, term 1 is associated with docID1a, . . ., docID1x. Thus, for each respective docIDi in the set docID1a, . . ., docID1x, the inverted document-vertical index is consulted to determine which vertical collections 450 are associated with the respective docIDi. Each of these vertical collections 450 are then associated with term 1 in order to construct a vertical index list 444 for term 1. Thus, starting with the entry for term 1 in document index 462,
the set of vertical collections associated with docID1a, . . ., docID1x are collected from the inverted document-vertical index in order to construct the vertical index list:
where each of V1, V2, . . ., VN is a vertical collection identifier that points to a unique vertical collection 450. This data structure is a vertical index list 444. As illustrated, a vertical index list 444 is a list of vertical collection identifiers of vertical collections 450 sharing a definable attribute (e.g., “term 1”). If term 1 was “vacation,” than vertical index list 444 contains the identifiers of the vertical collections 450 holding documents containing the word “vacation.” The predicate defining the list, “term 1” in the above example, is referred to as the “head term.”
By considering all the terms in a collection of terms, vertical index 442 is constructed. There may be a large number of terms in the collection of terms. For example, in some embodiments, the collection of terms contains all combinations of character strings between 1 and 10 ASCII characters in length, all combinations of character strings between 1 and 20 ASCII characters in length, all combinations of character strings between 1 and 30 ASCII characters in length, or all combinations of character strings between 1 and 50 ASCII characters in length. Vertical index 442 comprises vertical index lists 444, along with an efficient process for locating and returning the vertical index list 444 corresponding to a given attribute (search term). For example, a vertical index 442 can be defined containing vertical index lists 444 for all the words appearing in a collection. Vertical index 442 stores, for each given word in the collection, a vertical index list 444 of those vertical collections 450. Each such vertical collection 450 in the vertical index list 444 for the given word holds at least some documents 466 containing the given word.
Referring to
Steps for constructing a vertical index 442 have been detailed above. The vertical index 442 includes, for each respective head term in a collection of head terms, the list of vertical collections 450 having documents that contain the respective head term. To optimize vertical index 442, additional steps are taken to rank each vertical collection 450 referenced in each respective vertical index list 444 so that only the most significant vertical collections 450 are returned for any given vertical search query. Thus, for each respective head term (t) represented in vertical index 442, each vertical collection (v) listed in the vertical index 444 for the respective head term is scored with the respect to the head term to give a score(t,v). The score for a vertical collection 450, given a specific head term score(t,v), can be computed many different ways. In some embodiments, the score for a vertical collection 450, given a specific head term (score(t,v)), is computed by summing over all documents 466 in the vertical collection as follows:
where score(t,d) is the score for a document in the vertical collection 450 and w(d,v) is some weight assigned to the vertical collection 450 that contains the document.
In some embodiments, w(d,v) is a weight that upweights those vertical collections 450 that have the highest frequency of the given head term. In other words, in such embodiments, w(d,v) is higher for a first vertical collection 450 that has documents with a higher incidence of head term (t) than a second vertical collection 450 that has documents with a lower incidence of head term (t). In some embodiments, w(d,v) is a weight that upweights those vertical collections 450 that have a high prevalence of the head term in the highest ranked documents within such vertical collections 450. In other words, in such embodiments, w(d,v) is higher for a first vertical collection 450 that has a higher incidence of head term (t) within high ranked documents 466 of the first vertical collection 450 than a second vertical collection 450 that has a lower incidence of head term (t) within high ranked documents 466 of the second vertical collection 450. Here, high ranked documents 466 refer to those documents that have received a high rank by index construction module 464. Methods by which index construction module 464 assigns a high rank to certain documents 466 are well known in the art. One criterion for ranking a document 466, is for example, to assess how many other documents reference the given document 466. The idea behind such a ranking scheme is that the more documents that reference the given document, the more interesting the given document must be. Several other criteria and methods for ranking documents are known to those of skill in the art and all such criteria and methods can be used to rank documents 466 in the present invention. Then, such the rankings of such documents 466 in document index 462 is used to assign a score(t,v) for the vertical collections 450 that contain such documents. Alternatively, in less preferred embodiments, documents 466 can be ranked within vertical collections independently of index construction module 464 using the same criteria and methods generally used to rank documents in the art. In some embodiments w(d,v) is not used to compute score(t,v). That is, in some embodiments, there is no w(d,v). In some embodiments, w(d,v) for a given vertical collection 450 is a function of the popularity of the vertical collection 450, an aggregation of the link density for documents 466 within the vertical collection 450, or any other criterion that is normally used to evaluate the quality of documents 466.
In some embodiments
where f(d,t) is the number of times the head term (t) occurs in document (d) of vertical collection 450, and f(N) is a function of the number of vertical collections 450 accessible to vertical search engine 424 (whether such vertical collections are stored in memory 414 and/or accessible via network interface 410). In some embodiments f(N) is simply Mv, the number of vertical collections 450 stored in memory 414 and/or available via Network interface 410). In some embodiments f(N) is log(Mv,) or some other function of Mv, such as the root of Mv. In formula (II), v(t) is the number of vertical collections 450 containing head term (t). In practice, v(t) is the number of vertical collections 450 that are in the vertical index list 442 for head term (t). Also, in formula (II), A and B are both equal to 1 in some embodiments. In other embodiments, A and B are the same or different constant numbers. In some embodiments A is larger than B. In some embodiments A is smaller than B. In some embodiments A is equal to B. Other formulas for score(t,d) are possible. For example, in some embodiments,
score(t,d)=f (d,t). (III)
where f(d,t) is the number of times the head term (t) occurs in document (d) of vertical collection 450.
Substituting formula (II) into formula (I) and rearranging, in some embodiments:
for embodiments where a global w(d,v) is applied to each document in an entire vertical collection 450, and
for embodiments where a w(d,t) is applied to each document based on the identity of term (t).
In some embodiments, score(t,v) as expressed in either formula (IV) or (V) is part of an overall score (scoreov) for a vertical collection 450 given a term (t) having the form:
μ1* score1(t,v)+μ2* score2(t,v) (VI)
where, score2 is either score(t,v) of formula (IV) and (V) and score1(t,v) has the form:
score1(t,v)=score for head term t in vertical v=(C+log(f(v,t)))*log(D+f(N)/v(t)) (VII)
where f(v,t) is the number of documents 466 in vertical collection (v) containing term (t), f(N) is a function of the number of vertical collections tracked by memory 414 (e.g., N, the number of vertical collections tracked by memory 414, log(N), root of N, etc.), v(t) is the number of vertical collections 450 in the vertical index list 444 of term (t), and C and D are constants. C and D are both equal to 1 in some embodiments. In other embodiments, C and D are the same or different constant numbers. In some embodiments C is larger than D. In some embodiments C is smaller than D. In formula (VI), μ1 and μ2 are terms that can be independently adjusted. In typical embodiments, μ1 and μ2 are constant values. These values can be the same or different. In some embodiments, μ1 is zero. In some embodiments μ1 is a constant value that is less than μ2. In some embodiments, μ1 is a constant value that is greater than μ2.
Referring to
Step 602. In step 602, a vertical search query is received from client computer 100. A vertical search query comprises a list of keywords, possibly joined by the Boolean operators AND, OR, as well as NOT, and optionally grouped with parentheses or quotes. Examples of vertical search queries include: (i) “Florida discount vacations,” (ii) “The President of the United States,” and “(car OR automobile) AND (transmission OR brakes).” Referring to
Step 604. In step 604, a determination is made as to whether a user has selected a vertical collection 450. Referring to
Step 606. In step 606, the vertical search query is decomposed into atomic vertical search queries. An atomic vertical search query consists of a single term or predicate condition. For example, the vertical search query “(car OR automobile) AND (transmission OR brakes)” includes the single terms “car”, “automobile”, “transmission”, “brakes” and the predicate conditions of precedence “()”, AND, as well as OR.
Step 608. In typical embodiments, only one of the atomic vertical search queries in the vertical search query will be new or altered. Thus, in step 608, the atomic vertical search query that is new or has been altered is first identified. To illustrate, consider the case where the vertical search query in the last instance of step 608 was “car OR auto” whereas in the current instance of step 608, the vertical search query is “car OR automobile”. In step 606, the vertical search query “car OR automobile” is broken down to the atomic vertical search queries “car” and “automobile.” The atomic vertical search query “car” remains unchanged relative to the last instance of step 608 and therefore is not hashed in the new instance of step 608. The atomic vertical search query “automobile”, on the other hand, had the form “auto” in the last instance of step 608 and is therefore not hashed in the new instance of step 608. In some embodiments, rather than rehashing the full atomic vertical search “automobile” the hash of “auto” from the previous instance of step 608 is used and a cumulative hash is performed with the additional characters “mobile” in order to arrive at the full hash for “automobile” in the current instance of step 608. In some embodiments, such cumulative hashing is not performed. Cumulative hashing is preferable in some embodiments so that recommended verticals collections 450 can be returned to client computer 100 before the user has had a chance to enter many more keystrokes into prompt 302. Thus, any techniques that will speed up the computation of steps 606 through 612 are preferred.
In some embodiments atomic vertical search queries are not hashed. In such embodiments, vertical index 442 is not ordered by the hash values of atomic vertical search queries. In some embodiments, more than one atomic vertical search query within the vertical search query is new or has been altered. In such embodiments, each new or altered atomic vertical search query is separately hashed in step 608. If a precursor expression is available for any of these altered atomic vertical search queries, the hash of such precursor expressions is used to speed up the hash of the corresponding altered atomic vertical search query.
Step 610. In step 610, the vertical index list 444 for each new or altered atomic vertical search query in the vertical query is identified. In embodiments where vertical index 442 is a hash table, such as illustrated in
Step 612. In step 612, a list of recommended vertical collections 450 for the vertical search query from client computer 100 is composed. In the case where the vertical search query includes only one atomic vertical search term, step 612 simply involves extracting each of the names of the vertical collections 450 referenced in the vertical index 444 for the atomic vertical search term that was identified an instance of step 610. In the case where the vertical search term includes more than one atomic vertical search term, more work is required. Consider the case in which there are two atomic vertical search terms in a vertical search term query in which there is either no operator between the two search terms or the two search terms are joined by an “AND” operator. In this case, the names of the vertical collections 450 for each atomic vertical search term are first identified using the processes described above. So, if the atomic vertical search terms are term1, and term2, this operation results in the identification of the following:
Then, in order to identify a list of recommended vertical collections 450 in this instance, the intersection of each list of vertical collections 450 is taken in some embodiments of the present invention. This means that only those vertical collections 450 that are common to both vertical index lists 444 are included in the list of recommended vertical collections 450 in such embodiments. In some embodiments, in addition to the requirement that each recommended vertical collection be present in both index lists 444, each recommended vertical collection must have a minimum relevancy score(v,t).
Next consider the case in which two atomic vertical search terms are joined by an “OR” operator. Here, the union of the vertical collections 450 in the two vertical index lists 444 for the two search terms is taken. That is, vertical collections 450 that are in either vertical index list 444 are selected for inclusion in the list of names of candidate vertical collections 450 that are send back to client computer 100 in response to a vertical search query. In some embodiments the relevancy score for each vertical collection 450 in each vertical index list 444 is also used to determine which vertical collections 450 are selected for the list of names of candidate vertical collections 450. For example, in some embodiments, those vertical collections 450 that are represented in the vertical index list 444 of both atomic vertical search terms are summed. Because of this summing operation, there is a tendency for those vertical collections 450 that are represented in the vertical index list 444 of both atomic vertical search terms to appear in the list or recommended vertical collections 450 in such embodiments. However, it is still quite possible in such embodiments for vertical collections 450 that appear in only one of the two vertical index lists 444 to be recommended if such vertical collections 450 have a high score. The following example illustrates the point. Consider the vertical indexes 444 for term1, and term2 in which the quality or relevancy score of each vertical collection 450 has been computed and in which term1, and term2 are related by an “OR” operator:
Thus, for purposes of determining which vertical collections 450 are to be incorporated into the list of recommended vertical collections responsive to a given vertical search query, the following computations are made:
VC150=score150,t1
VC170=score170,t1+score170,t2
VC175=scorel75,t1+score175,t2
VC151=score151,t2
Here, VC170 and VC175 benefit from the summation of two scores whereas VC150 and VC51 each receive only one score. However, it is still quite possible that VC150 or VC151 may have a higher score than VC150 and VC151 and therefore be included in the list of recommended vertical collections 450. Here, each of the scores may be any of the scores described with respect to formulas (I) through (VII) above, or some other score that assigns vertical collection quality or relevance of a vertical collection to a given search term.
For two atomic vertical search terms joined by a NOT operator, those vertical collections 450 in the vertical index list 444 of the negated search term are subtracted from the list of vertical collections 450 in the vertical index 444 associated with the non-negated search term to arrive at a recommended list of vertical collections for a given vertical search request. To illustrate, consider the vertical indexes 444 for term1, and term2 in which the quality or relevancy score of each vertical collection 450 has been computed and in which term1 and term2 are related by a “NOT” operator:
Thus, in this case, only the vertical collection VC150 would be selected for inclusion in the list of recommended vertical collections 450.
More complex logical expressions can be built using combinations of atomic vertical search queries joined by Boolean expressions such as AND, OR as well as NOT. Moreover, precedence can be introduced using parentheses. Those of skill in the art will appreciate that other forms of logic can be used to merge or split lists of vertical collections 450 in vertical indexes 442 in order to arrive at a final set of list of recommended vertical collections for a given vertical search query and all such forms of logic are within the scope of the present invention.
In some embodiments, the list of recommended vertical collections 450 contains a maximum number of vertical collections 450. For some search expressions, the number of vertical collections 450 identified does not exceed this maximum. However, for some search expressions, the number of vertical collections 450 identified does exceed the maximum possible number of recommended vertical collections 450. In such embodiments, the term-based relevancy score associated with each vertical collection 450 is used to determine which vertical collections are included in the recommendation list of vertical collections for a given vertical search query. Only top scoring vertical collections 450 are selected for the list.
Steps 614-618. The lookup performed by steps 608 through 612 is designed to be fast. In some embodiments, a recommended list of vertical collections 450 is returned to client computer 100 between each character stroke entered by a user into prompt 302. Correspondingly, in some embodiments, client computer 100 sends a new vertical search query each time the user enters a new character into prompt 302 of
In some embodiments, a check is performed to determine whether a new vertical query has been received from client computer 100 (step 614). For example, in some embodiments, a determination is made as to whether a new http request has arrived from the client computer 100 with a new or revised vertical search query. If a new or revised vertical query has been received (614-Yes), control is passed back to step 604 without reporting the recommended vertical collection (step 616). If a new or revises vertical search query has not arrived (614-No), then the recommended vertical collections 450 are reported to client computer 100 where they are displayed in a graphic such as v-cloud 304 (step 618). In some embodiments, the recommended vertical collections 450 are reported to client computer 100 even when a new vertical search query has arrived from client computer 100.
In some embodiments, the list of recommended vertical collections that is returned to client computer 100 includes both the identity of the recommended vertical collections 450 (names) and a relevancy score for each vertical collection 450. Such relevancy scores are computed, for example using any of the scoring functions described with respect to formulas (I) through (VII) above, or any other scoring function that assesses vertical collection 450 quality and/or vertical collection 450 to a given vertical search query. Then, as illustrated in
Upon completion of step 618, control passes back to step 602 in order to wait for a new vertical search query.
Steps 620-622. Eventually, the user selects a vertical collection 450. When this occurs, the vertical search query is directed to the selected vertical collection 450. The selected vertical collection 450 is searched for those documents that are most relevant to the final vertical search query (step 620). In some embodiments, search engine 422 performs the search of the selected vertical collection 450. Then, in step 622, these high ranking documents are reported to client computer 100 where they are displayed, for example, as shown in
Computer systems, graphical user interfaces, computer program products, and methods have been disclosed for automatically recommending vertical collections to a user who is constructing a search query. The techniques are highly advantageous for several reasons. The search of vertical index 442 is extremely fast. This enables vertical search engine 424 to return a list of recommended vertical collections 450 to the user between user keystroke. Thus, the user can quickly see what kinds of topics are relevant to the search query and can either select one of the categories, continue to type in a search query, or in the case where uninteresting vertical collections 450 are emerging, start fresh with a new vertical search query. With the present invention, the user can enjoy all the benefits of performing searches within a relevant vertical collection without having to navigate through hierarchical lists of categories or make a uniformed guess as to what might be the correct category to search. Moreover, from a server perspective, the invention is highly advantageous because, as illustrated in
All references cited herein are incorporated herein by reference in their entirety and for all purposes to the same extent as if each individual publication or patent or patent application was specifically and individually indicated to be incorporated by reference in its entirety for all purposes.
The present invention can be implemented as a computer program product that comprises a computer program mechanism embedded in a computer readable storage medium. For instance, the computer program product could contain the program modules shown in
Many modifications and variations of this invention can be made without departing from its spirit and scope, as will be apparent to those skilled in the art. The specific embodiments described herein are offered by way of example only. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. The invention is to be limited only by the terms of the appended claims, along with the full scope of equivalents to which such claims are entitled.
This application is related to concurrently filed U.S. patent application Ser. No. to be determined, Attorney Docket No. 11736-001-999, entitled “Systems and Methods for Performing Searches Within Vertical Domains,” filed Apr. 13, 2006, which is hereby incorporated by reference herein in its entirety.