1. Field of the Invention
The present invention relates to a method and article of manufacture for searching documents for ranges of numeric values.
2. Description of the Related Art
In the current art, a search engine, such as an Internet search engine, receives search request to locate all accessible documents, such as web pages, in a network, such as an Internet or Intranet, that satisfy a query. The search engine maintains posting lists for searchable words, terms, number, etc., where the posting list for a word comprises the document identifiers (docID) of all documents that include the word associated with the posting list. At periodic intervals, the search engine may execute web robots that search the Internet for documents. The robot determines the words in the document associated with posting lists and then adds the located document identifier, i.e., docID, to all posting lists associated with a word in the document.
When a user submits a request for multiple words, the search engine locates the posting lists for each word included in the search request and then returns the union of all document IDs in the posting lists if the search request is a Boolean OR search. If the search is an AND request, then the search engine returns the document IDs resulting from the intersection of the posting lists. Moreover, the query can also be an arbitrary expression, e.g. “A and B or C and not (D) and function (F, G).
Provided are a method, system, and program for searching documents for ranges of numeric values. Document identifiers for documents are accessed, wherein the documents include at least one value that is a member of a set of values. A number of posting lists are generated. Each posting list is associated with a range of consecutive values within the set of values and includes document identifiers for documents having values within the range of consecutive values associated with the posting list. Each document identifier is associated with one value in the set of values included in the document identified by the document identifier. The generated posting lists are stored.
In further embodiments, document identifiers for documents are accessed, including at least one value that is a member of a set of values. A number of posting lists associated with a first level are generated, wherein each posting list is associated with a range of consecutive values within the set of values and includes document identifiers for documents having values within the range of consecutive values associated with the posting list. Each document identifier is associated with one value in the set of values included in the document identified by the document identifier. At least one iteration of generating posting lists for an additional level is performed, wherein each posting list generated for the additional level is formed by merging at least two posting lists associated with a previous level. Each generated posting list at one additional level is associated with consecutive values in the set of values. A new additional level and posting lists associated therewith are generated with each iteration.
In the following description, reference is made to the accompanying drawings which form a part hereof and which illustrate several embodiments of the present invention. It is understood that other embodiments may be utilized and structural and operational changes may be made without departing from the scope of the present invention.
The server 6 further includes an index builder 20 that builds the posting lists 14 used by the search engine 12 to execute queries received from the user systems 2.
The user systems 2 may comprise any computing device capable of submitting queries, i.e., search requests, to the server 6, including desktop computers, notebook computers, workstations, hand held computers, servers, mainframes, telephony devices, etc. The user systems 2 includes a browser program (not shown), such as a Hypertext Markup Language (HTML) web browser, capable of requesting and accessing documents 10 at network accessible systems 8 and submitting search requests to the server 6. The network 4 may comprise one or more networks known in the art, such as a Wide Area Network (WAN), Local Area Network (LAN), Storage Area Network (SAN), wireless network, the Internet, and Intranet, etc. The server 6 may comprise one or more computational machines, such as one or more servers, suitable for handling search requests from the user systems 2. The number of servers used for the server 6 depends on the anticipated network traffic from user systems 2.
The network accessible system 8 comprises any computational device or storage system capable of storing documents 10 and making such documents available to the user systems 2 and server 6 over the network 4. The network accessible systems 8 includes a program to respond to document requests from the user systems 2 and server 6 over the network 4, such as a Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), Network File System (NFS), etc. Certain network systems may function as both a user system 2 and network accessible system 8 serving documents 10. The documents 10 may be implemented in different computer readable formats, e.g., text, HTML, images, video, sound, Portable Document Format (PDF), and include searchable text or searchable metadata that the server 6 may access to index the documents 10 in the posting lists 14. The search engine 12 may periodically search for and access documents 10 in the network accessible systems 8, i.e., crawl the network 4, and determine whether the content of an accessed the document 10, in the body, metadata or header of the document 10, includes a term or numeric value that is associated with one of the posting lists. Document identifiers identifying documents having a term or value associated with a posting list 14 are added as an entry 30 (
The server 6 includes a search engine 12 program. The search engine 12 includes a crawler, an indexer (shown as index builder 20) and a search server. The crawler collects documents from the network. The indexer extracts the searchable terms, including numeric values, from the documents and builds posting lists. The search server uses the posting lists to generate search results for the user's queries. The index builder 20 component of the search engine 6 generates the posting lists 14 that the search engine 12 queries to determine document identifiers identifying documents that satisfy the search request parameters, which may include a numeric range, words, text, etc. The numeric range may comprise price, date, etc.
In one embodiment, the posting lists 14 may be associated with a range of consecutive values determined by dividing the number of values (N) by the number of posting lists, so that the N values in the set are equally distributed among the posting lists 14. The generated posting lists 14 include entries 30 having document identifiers 34 for documents 10 that include a value within the range of values associated with the posting list. Multiple entries in one generated posting list 14 may have the same document identifier 34 if the document identified by the document identifier 34 includes multiple values in the range of values associated with the generated posting list 14. The generated posting lists 14 are then stored (at block 108) in the storage 16.
The search engine 12 then merges (at block 126) the determined posting lists, which may include filtered posting lists, to form a merged posting list including document identifiers 34 of documents 10 including values within the query range. The search engine 12 returns (at block 128) the document identifiers in the merged posting list to the user system 2 initiating the query. In returning the document identifiers, the search engine 12 may remove multiple instances of the document identifiers for different values within the range so that a document identifier is presented only once for all values in the range it may have. The document identifiers may be returned to the user system 2 in a web page or search report in a format known in the art. In certain embodiments, the document identifiers relevant to the numeric field are processed along with other query terms, most often words, to find documents relevant to the entire query. In this way, the numeric range querying can be used with free-text queries because queries often contain more than just a single numeric range.
The index builder 20 then performs (at block 208) the operations at blocks 102-106 in
The search engine 12 filters (at block 254) at least one of the determined posting lists at the first level if the determined posting lists at the first level include values outside of the query range of values. In one embodiment, the number of determined posting lists may be just one or two. This filtering removes values from the posting lists at the first level that are not within the query range of values to form at least one filtered posting list only including values within the query range of values. In one embodiment, this search engine 12 may perform the operations in
At certain intervals, the server 6 may update posting lists by crawling the web, i.e., accessing network accessible systems 8, for documents including values associated with posting lists 14 and then perform the operations in
The user systems 2 may submit queries that include both query ranges of numeric values as well as other query terms, such as words, terms, etc. In such case, when forming the merged posting lists, the search engine 12 may merge the merged posting list of the document identifiers associated with the query range of values with posting lists associated with other query terms, such as words, phrases, etc. If the query involved an OR operation of the terms and query range, then merging the posting lists for the query range involves forming a union of the document identifiers, e.g., document IDs of all determined posting lists. If the query involved an AND operation, then merging the posting lists for the query range involves determining an intersection of the document identifiers, e.g., document IDs, in all the determined posting lists.
The described operations may be implemented as a method, apparatus or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof. The term “article of manufacture” as used herein refers to code or logic implemented in hardware logic (e.g., an integrated circuit chip, Programmable Gate Array (PGA), Application Specific Integrated Circuit (ASIC), etc.) or a computer readable medium, such as magnetic storage medium (e.g., hard disk drives, floppy disks, tape, etc.), optical storage (CD-ROMs, optical disks, etc.), volatile and non-volatile memory devices (e.g., EEPROMs, ROMs, PROMs, RAMs, DRAMs, SRAMs, firmware, programmable logic, etc.). Code in the computer readable medium is accessed and executed by a processor. The code in which preferred embodiments are implemented may further be accessible through a transmission media or from a file server over a network. In such cases, the article of manufacture in which the code is implemented may comprise a transmission media, such as a network transmission line, wireless transmission media, signals propagating through space, radio waves, infrared signals, etc. Thus, the “article of manufacture” may comprise the medium in which the code is embodied. Additionally, the “article of manufacture” may comprise a combination of hardware and software components in which the code is embodied, processed, and executed. Of course, those skilled in the art will recognize that many modifications may be made to this configuration without departing from the scope of the present invention, and that the article of manufacture may comprise any information bearing medium known in the art.
The described operations may be performed by circuitry, where “circuitry” refers to either hardware or software or a combination thereof. The circuitry for performing the operations of the described embodiments may comprise a hardware device, such as an integrated circuit chip, Programmable Gate Array (PGA), Application Specific Integrated Circuit (ASIC), etc. The circuitry may also comprise a processor component, such as an integrated circuit, and code in a computer readable medium, such as memory, wherein the code is executed by the processor to perform the operations of the described embodiments.
The illustrated operations of
The foregoing description of various embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.
This patent application is a continuation of U.S. patent application Ser. No. 10/949,473, filed on Sep. 24, 2004, which patent applications are incorporated herein by reference in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
4965763 | Zamora | Oct 1990 | A |
5187790 | East et al. | Feb 1993 | A |
5265221 | Miller | Nov 1993 | A |
5287496 | Chen et al. | Feb 1994 | A |
5297039 | Kanaegami et al. | Mar 1994 | A |
5423032 | Byrd et al. | Jun 1995 | A |
5574906 | Morris | Nov 1996 | A |
5638543 | Pedersen et al. | Jun 1997 | A |
5664172 | Antoshenkov | Sep 1997 | A |
5685003 | Peltonen et al. | Nov 1997 | A |
5701469 | Brandli et al. | Dec 1997 | A |
5708825 | Sotomayor | Jan 1998 | A |
5721938 | Stuckey | Feb 1998 | A |
5721939 | Kaplan | Feb 1998 | A |
5724033 | Burrows | Mar 1998 | A |
5729730 | Wlaschin et al. | Mar 1998 | A |
5745889 | Burrows | Apr 1998 | A |
5745890 | Burrows | Apr 1998 | A |
5745894 | Burrows et al. | Apr 1998 | A |
5745898 | Burrows | Apr 1998 | A |
5745899 | Burrows | Apr 1998 | A |
5745900 | Burrows | Apr 1998 | A |
5745904 | King et al. | Apr 1998 | A |
5745906 | Squibb | Apr 1998 | A |
5756150 | Mori et al. | May 1998 | A |
5765149 | Burrows | Jun 1998 | A |
5765158 | Burrows | Jun 1998 | A |
5765168 | Burrows | Jun 1998 | A |
5778378 | Rubin | Jul 1998 | A |
5787435 | Burrows | Jul 1998 | A |
5797008 | Burrows | Aug 1998 | A |
5809502 | Burrows | Sep 1998 | A |
5832480 | Byrd, Jr. et al. | Nov 1998 | A |
5832500 | Burrows | Nov 1998 | A |
5832519 | Bowen et al. | Nov 1998 | A |
5848407 | Ishikawa et al. | Dec 1998 | A |
5852820 | Burrows | Dec 1998 | A |
5862325 | Reed et al. | Jan 1999 | A |
5864863 | Burrows | Jan 1999 | A |
5873097 | Harris et al. | Feb 1999 | A |
5884305 | Kleinberg et al. | Mar 1999 | A |
5890103 | Carus | Mar 1999 | A |
5893119 | Squibb | Apr 1999 | A |
5903646 | Rackman | May 1999 | A |
5903891 | Chen et al. | May 1999 | A |
5903901 | Kawakura et al. | May 1999 | A |
5909677 | Broder et al. | Jun 1999 | A |
5914679 | Burrows | Jun 1999 | A |
5915251 | Burrows et al. | Jun 1999 | A |
5920859 | Li | Jul 1999 | A |
5924091 | Burkhard | Jul 1999 | A |
5933822 | Braden-Harder et al. | Aug 1999 | A |
5963940 | Liddy et al. | Oct 1999 | A |
5963954 | Burrows | Oct 1999 | A |
5966703 | Burrows | Oct 1999 | A |
5966710 | Burrows | Oct 1999 | A |
5970497 | Burrows | Oct 1999 | A |
5974412 | Hazlehurst et al. | Oct 1999 | A |
5995980 | Olson et al. | Nov 1999 | A |
6005503 | Burrows | Dec 1999 | A |
6016493 | Burrows | Jan 2000 | A |
6016501 | Martin et al. | Jan 2000 | A |
6021409 | Burrows | Feb 2000 | A |
6026388 | Liddy et al. | Feb 2000 | A |
6026413 | Challenger et al. | Feb 2000 | A |
6029165 | Gable | Feb 2000 | A |
6035268 | Carus et al. | Mar 2000 | A |
6047286 | Burrows | Apr 2000 | A |
6067543 | Burrows | May 2000 | A |
6078914 | Redfern | Jun 2000 | A |
6078916 | Culliss | Jun 2000 | A |
6078923 | Burrows | Jun 2000 | A |
6088694 | Burns et al. | Jul 2000 | A |
6105019 | Burrows | Aug 2000 | A |
6119124 | Broder et al. | Sep 2000 | A |
6122626 | Brandsma | Sep 2000 | A |
6182062 | Fujisawa et al. | Jan 2001 | B1 |
6182121 | Wlaschin | Jan 2001 | B1 |
6192258 | Kamada et al. | Feb 2001 | B1 |
6192333 | Pentheroudakis | Feb 2001 | B1 |
6205451 | Norcott et al. | Mar 2001 | B1 |
6205456 | Nakao | Mar 2001 | B1 |
6216175 | Sliger et al. | Apr 2001 | B1 |
6233571 | Egger et al. | May 2001 | B1 |
6243713 | Nelson et al. | Jun 2001 | B1 |
6243718 | Klein et al. | Jun 2001 | B1 |
6269361 | Davis et al. | Jul 2001 | B1 |
6278992 | Curtis et al. | Aug 2001 | B1 |
6285999 | Page | Sep 2001 | B1 |
6295529 | Corston-Oliver et al. | Sep 2001 | B1 |
6308179 | Petersen et al. | Oct 2001 | B1 |
6324566 | Himmel et al. | Nov 2001 | B1 |
6336112 | Chakrabarti et al. | Jan 2002 | B2 |
6336117 | Massarani | Jan 2002 | B1 |
6336122 | Lee et al. | Jan 2002 | B1 |
6339772 | Klein et al. | Jan 2002 | B1 |
6349308 | Whang et al. | Feb 2002 | B1 |
6374268 | Testardi | Apr 2002 | B1 |
6381602 | Shoroff et al. | Apr 2002 | B1 |
6385616 | Gardner | May 2002 | B1 |
6418433 | Chakrabarti et al. | Jul 2002 | B1 |
6421655 | Horvitz et al. | Jul 2002 | B1 |
6457018 | Rubin | Sep 2002 | B1 |
6463439 | Dahlberg | Oct 2002 | B1 |
6507846 | Consens | Jan 2003 | B1 |
6519592 | Getchius et al. | Feb 2003 | B1 |
6519593 | Matias et al. | Feb 2003 | B1 |
6519597 | Cheng et al. | Feb 2003 | B1 |
6529285 | Bobrow et al. | Mar 2003 | B2 |
6542906 | Korn | Apr 2003 | B2 |
6547829 | Meyerzon et al. | Apr 2003 | B1 |
6553385 | Johnson et al. | Apr 2003 | B2 |
6567804 | Ramasamy et al. | May 2003 | B1 |
6578032 | Chandrasekar et al. | Jun 2003 | B1 |
6584458 | Millett et al. | Jun 2003 | B1 |
6594682 | Peterson et al. | Jul 2003 | B2 |
6615209 | Gomes et al. | Sep 2003 | B1 |
6618725 | Fukuda et al. | Sep 2003 | B1 |
6622211 | Henry et al. | Sep 2003 | B2 |
6631369 | Meyerzon et al. | Oct 2003 | B1 |
6631496 | Li et al. | Oct 2003 | B1 |
6633872 | Ambrosini et al. | Oct 2003 | B2 |
6643650 | Slaughter et al. | Nov 2003 | B1 |
6658406 | Mazner et al. | Dec 2003 | B1 |
6658423 | Pugh et al. | Dec 2003 | B1 |
6665657 | Dibachi | Dec 2003 | B1 |
6665666 | Brown et al. | Dec 2003 | B1 |
6678409 | Wu et al. | Jan 2004 | B1 |
6754873 | Law et al. | Jun 2004 | B1 |
6763362 | McKeeth | Jul 2004 | B2 |
6766316 | Caudill et al. | Jul 2004 | B2 |
6789077 | Slaughter et al. | Sep 2004 | B1 |
6810375 | Ejerhed | Oct 2004 | B1 |
6839665 | Meyers | Jan 2005 | B1 |
6839702 | Patel et al. | Jan 2005 | B1 |
6839843 | Bacha et al. | Jan 2005 | B1 |
6842730 | Ejerhed et al. | Jan 2005 | B1 |
6845009 | Whitted | Jan 2005 | B1 |
6850979 | Saulpaugh et al. | Feb 2005 | B1 |
6865575 | Smith et al. | Mar 2005 | B1 |
6868447 | Slaughter et al. | Mar 2005 | B1 |
6870095 | Whitted | Mar 2005 | B1 |
6877136 | Bess et al. | Apr 2005 | B2 |
6904454 | Stickler | Jun 2005 | B2 |
6906920 | Whitted | Jun 2005 | B1 |
6934634 | Ge | Aug 2005 | B1 |
7031954 | Kirsch | Apr 2006 | B1 |
7051023 | Kapur et al. | May 2006 | B2 |
7243301 | Bargeron et al. | Jul 2007 | B2 |
7293005 | Fontoura et al. | Nov 2007 | B2 |
7318075 | Ashwin et al. | Jan 2008 | B2 |
7693824 | Diament | Apr 2010 | B1 |
20010027451 | Taguchi et al. | Oct 2001 | A1 |
20010049671 | Joerg | Dec 2001 | A1 |
20020006112 | Jaber et al. | Jan 2002 | A1 |
20020032677 | Morgenthaler et al. | Mar 2002 | A1 |
20020032705 | Higashiyama et al. | Mar 2002 | A1 |
20020065957 | Rubin | May 2002 | A1 |
20020099723 | Garcia-Chiesa | Jul 2002 | A1 |
20020120685 | Srivastava et al. | Aug 2002 | A1 |
20020129014 | Kim et al. | Sep 2002 | A1 |
20020129015 | Caudill et al. | Sep 2002 | A1 |
20020165707 | Call | Nov 2002 | A1 |
20020169770 | Kim et al. | Nov 2002 | A1 |
20020174149 | Conroy et al. | Nov 2002 | A1 |
20020188615 | Latarche et al. | Dec 2002 | A1 |
20030028564 | Sanfilippo | Feb 2003 | A1 |
20030046311 | Baidya et al. | Mar 2003 | A1 |
20030055626 | Miyahira et al. | Mar 2003 | A1 |
20030093409 | Weil et al. | May 2003 | A1 |
20030163454 | Jacobsen et al. | Aug 2003 | A1 |
20030177127 | Goodwin et al. | Sep 2003 | A1 |
20030182282 | Ripley | Sep 2003 | A1 |
20030187833 | Plu | Oct 2003 | A1 |
20030217052 | Rubenczyk et al. | Nov 2003 | A1 |
20030225763 | Guilak et al. | Dec 2003 | A1 |
20030225779 | Matsuda | Dec 2003 | A1 |
20030229604 | Zaragoza et al. | Dec 2003 | A1 |
20040044962 | Green et al. | Mar 2004 | A1 |
20040078356 | Mazner et al. | Apr 2004 | A1 |
20040078387 | Benjamin et al. | Apr 2004 | A1 |
20040078753 | Doyle | Apr 2004 | A1 |
20040098399 | Risberg et al. | May 2004 | A1 |
20040111408 | Caudill et al. | Jun 2004 | A1 |
20040123104 | Boyen et al. | Jun 2004 | A1 |
20040128615 | Carmel et al. | Jul 2004 | A1 |
20040162997 | Hopmann et al. | Aug 2004 | A1 |
20040215606 | Cossock | Oct 2004 | A1 |
20040230598 | Robertson et al. | Nov 2004 | A1 |
20040243554 | Broder et al. | Dec 2004 | A1 |
20040243556 | Ferrucci et al. | Dec 2004 | A1 |
20040243557 | Broder et al. | Dec 2004 | A1 |
20040243560 | Broder et al. | Dec 2004 | A1 |
20040243581 | Weissman et al. | Dec 2004 | A1 |
20040243645 | Broder et al. | Dec 2004 | A1 |
20050033745 | Wiener et al. | Feb 2005 | A1 |
20050044411 | Somin et al. | Feb 2005 | A1 |
20050120004 | Stata et al. | Jun 2005 | A1 |
20050144241 | Stata et al. | Jun 2005 | A1 |
20050149499 | Franz et al. | Jul 2005 | A1 |
20050149576 | Marmaros et al. | Jul 2005 | A1 |
20050149851 | Mittal | Jul 2005 | A1 |
20050165781 | Kraft et al. | Jul 2005 | A1 |
20050165800 | Fontoura et al. | Jul 2005 | A1 |
20050165838 | Fontoura et al. | Jul 2005 | A1 |
20050198076 | Stata et al. | Sep 2005 | A1 |
20060047825 | Steenstra et al. | Mar 2006 | A1 |
20060129538 | Baader et al. | Jun 2006 | A1 |
20070016583 | Lempel et al. | Jan 2007 | A1 |
20070198456 | Betz et al. | Aug 2007 | A1 |
20070271268 | Fontoura et al. | Nov 2007 | A1 |
20070282829 | Fontoura et al. | Dec 2007 | A1 |
20080294634 | Fontoura et al. | Nov 2008 | A1 |
20090083270 | Kraft et al. | Mar 2009 | A1 |
Number | Date | Country |
---|---|---|
0809197 | Nov 1997 | EP |
0809197 | Nov 1997 | EP |
9311870 | Dec 1997 | JP |
10289246 | Oct 1998 | JP |
10293767 | Nov 1998 | JP |
2000339309 | Dec 2000 | JP |
2002163276 | Jun 2002 | JP |
9749048 | Dec 1997 | WO |
Number | Date | Country | |
---|---|---|---|
20080301130 A1 | Dec 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10949473 | Sep 2004 | US |
Child | 12190495 | US |