Pipelined architecture for global analysis and index building

Information

  • Patent Grant
  • 7783626
  • Patent Number
    7,783,626
  • Date Filed
    Friday, August 17, 2007
    17 years ago
  • Date Issued
    Tuesday, August 24, 2010
    14 years ago
Abstract
Provided is a technique for building an index. A new indexi+1 is built and an anchor text tablei+1 and a duplicates tablei+1 are output using a storei, a delta store, and previously generated global analysis computationsi, wherein the previously generated global analysis computationsi include an anchor text tablei, a rank tablei, and a duplicates tablei. New global analysis computationsi+1 are generated using the anchor text tablei+1, the duplicates tablei+1, and the previously generated global analysis computationsi.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention is related to a pipelined architecture for Global analysis and index building.


2. Description of the Related Art


The World Wide Web (also known as WWW or the “Web”) is a collection of some Internet servers that support Web pages that may include links to other Web pages. A Uniform Resource Locator (URL) indicates a location of a Web page. Also, each Web page may contain, for example, text, graphics, audio, and/or video content. For example, a first Web page may contain a link to a second Web page. When the link is selected in the first Web page, the second Web page is typically displayed.


A Web browser is a software application that is used to locate and display Web pages. Currently, there are billions of Web pages on the Web.


Web search engines are used to retrieve Web pages on the Web based on some criteria (e.g., entered via the Web browser). That is, Web search engines are designed to return relevant Web pages given a keyword query. For example, the query “HR” issued against a company intranet search engine is expected to return relevant pages in the intranet that are related to Human Resources (HR). The Web search engine uses indexing techniques that relate search terms (e.g., keywords) to Web pages.


Global analysis computations may be described as extracting properties from a global view of documents in a corpus (e.g., documents available on the Web). One example of a global analysis computation is the page rank computation. A page rank computation takes as input a directed graph in which every document in the corpus is a node and every hyperlink between documents is an edge. Then, the page rank computation produces as output a global rank for each document in the corpus. Other examples of global analysis computations are duplicate detection (i.e., the identification of pages with similar or the same content) and template detection (i.e., identification of which parts of a Web page are part of a site template).


Search engines that use global analysis computations typically need to have the output of these computations ready before indexing the corpus. For instance, rank values computed by page rank may be used to determine the order of documents in the index, and the results of the duplicate detection computation may be used to filter out which documents should not be indexed. Having to perform all global analysis computations before the creation of the search indices is a problem in scenarios where freshness requirements impose constraints on the time allowed for index creation. In general, global computations are costly, since their computational time is proportional to the number of documents in the corpus, which in the case of the Web or some textual and biological databases is very large.


Additionally, conventional index structures designed for large scale search engines are not well tuned for incremental updates. Thus, incrementally updating an index is expensive in conventional systems.


Thus, there is a need for improved global analysis and index building.


SUMMARY OF THE INVENTION

Provided are a method, system, and program for building an index in which global analysis computations and index creation are pipelined, wherein the global analysis computations share intermediate results.


Also provided are a method, system, and program in which a new indexi+1 is built and an anchor text tablei+1 and a duplicates tablei+1 are output using a storei, a delta store, and previously generated global analysis computationsi, wherein the previously generated global analysis computationsi include an anchor text tablei, a rank tablei, and a duplicates tablei. New global analysis computationsi+1 are generated using the anchor text tablei+1, the duplicates tablei+1, and the previously generated global analysis computationsi.





BRIEF DESCRIPTION OF THE DRAWINGS

Referring now to the drawings in which like reference numbers represent corresponding parts throughout:



FIG. 1 illustrates, in a block diagram, a computing environment in accordance with certain implementations of the invention.



FIG. 2 illustrates a data store and data structures in accordance with certain implementations of the invention.



FIG. 3 illustrates an index build process implemented by an indexing component in accordance with certain implementations of the invention.



FIG. 4 illustrates a delta index build process implemented by a delta indexing component in accordance with certain implementations of the invention.



FIG. 5 illustrates a process for merging a store and a delta store in accordance with certain implementations of the invention.



FIG. 6A illustrates logic for an index build process in accordance with certain implementations of the invention.



FIG. 6B illustrates, in a block diagram, a high-level flow of an index build process in accordance with certain implementations of the invention.



FIG. 6C illustrates auxiliary data structures that may be used by global analysis computations in accordance with certain implementations of the invention.



FIG. 7A illustrates logic for an index build process in accordance with certain alternative implementations of the invention.



FIG. 7B illustrates, in a block diagram, a high-level flow of an index build process in accordance with certain alternative implementations of the invention.



FIG. 8 illustrates processing using current global analysis results versus using slightly older global analysis results in accordance with certain implementations of the invention.



FIG. 9A illustrates logic for a global analysis process in accordance with certain implementations of the invention.



FIG. 9B illustrates, in a block diagram, a flow of a global analysis process in accordance with certain implementations of the invention.



FIG. 10 illustrates an architecture of a computer system that may be used in accordance with certain implementations of the invention.





DETAILED DESCRIPTION

In the following description, reference is made to the accompanying drawings which form a part hereof and which illustrate several implementations of the present invention. It is understood that other implementations may be utilized and structural and operational changes may be made without departing from the scope of the present invention.


Implementations of the invention provide an architecture in which global analysis computations are pipelined so that intermediate results may be shared between different sets of global analysis computations and where lagging global analysis information is used for creating search indices. The term “lagging” may be described as performing processing with results of recent processing of documents existing at a certain point in time, but not necessarily processing that has taken into account documents existing at a current point in time.



FIG. 1 illustrates, in a block diagram, a computing environment in accordance with certain implementations of the invention. A client computer 100 is connected via a network 190 to a server computer 120. The client computer 100 may comprise any computing device known in the art, such as a server, mainframe, workstation, personal computer, hand held computer, laptop telephony device, network appliance, etc. The network 190 may comprise any type of network, such as, for example, a Storage Area Network (SAN), a Local Area Network (LAN), Wide Area Network (WAN), the Internet, an Intranet, etc. The client computer 100 includes system memory 104, which may be implemented in volatile and/or non-volatile devices. One or more client applications 110 and a viewer application 112 may execute in the system memory 104. The viewer application 112 provides an interface that enables searching of a set of documents (e.g., stored in one or more data stores 170. In certain implementations, the viewer application 112 is a Web browser.


The server computer 120 includes system memory 122, which may be implemented in volatile and/or non-volatile devices. A information retrieval system 130 executes in the system memory 122. In certain implementations, the search engine includes a crawler component 132, a global analysis component 134, an indexing component 142, and a delta indexing component 144. The global analysis component 134 includes a static rank component 136, a duplicate detection component 138, an anchor text component 140. Although components 132, 136, 134, 138, 140, 142, and 144 are illustrated as separate components, the functionality of components 132, 136, 134, 138, 140, 142, and 144 may be implemented in fewer or more or different components than illustrated. Additionally, the functionality of the components 132, 136, 134, 138, 140, 142, and 144 may be implemented at a Web application server computer or other server computer that is connected to the server computer 120. Additionally, one or more server applications 160 execute in system memory 122.


The server computer 120 provides the client computer 100 with access to data in at least one data store 170 (e.g., a database). Although a single data store 170 is illustrated, for ease of understanding, data in data store 170 may be stored in data stores at other computers connected to server computer 120.


Also, an operator console 180 executes one or more applications 182 and is used to access the server computer 120 and the data store 170.


The data store 170 may comprise an array of storage devices, such as Direct Access Storage Devices (DASDs), Just a Bunch of Disks (JBOD), Redundant Array of Independent Disks (RAID), virtualization device, etc. The data store 170 includes data that is used with certain implementations of the invention.


In certain implementations of the invention, global analysis computations are performed by the global analysis component 134 in a pipelined manner with the use of lagging information and delta indices for an index build process performed by the indexing component 142. The global analysis computations described herein provide examples of possible global analysis computations, but such examples are not intended to limit the scope of the invention. The techniques of the invention are applicable to any global analysis computations.



FIG. 2 illustrates a data store and data structures in accordance with certain implementations of the invention. Data store 200 may be one of data stores 170 (FIG. 1). Data store 200 includes a store 210, an index 220, a delta store 230, and a delta index 240. The store 210, index 224, delta store 230, and delta index 240 may be used in an information retrieval system 130. The store 210, index 224, delta store 230, and delta index 240 are data structures used for index creation and global analysis processes in accordance with certain implementations of the invention.


The store 210 is a repository for a tokenized version of each document in a corpus of documents to be used for the information retrieval system 130. For example, the documents may be Web pages obtained at a certain point in time or the documents may be files in a directory obtained at a certain point in time. The documents are parsed and tokenized before being put in the store 210. Parsing and tokenizing may be described as identifying words (tokens) from text in the documents that are to be indexed. Parsed documents are typically small, so they may be aggregated into bundles in the store 210 to improve Input/Output (I/O) performance. Each bundle corresponds to a single file and multiple documents. A document in the store 210 may be found using a locator. The locator may be described as a reference to a bundle followed by a reference within the bundle. Also, implementations of the invention provide an Application Programming Interface (API) that may be used to retrieve a document from the store 210, given the locator of the document.


Additionally, attribute-value pairs may be used to store data and metadata about a document. The data in the store 210 is used by the global analysis component 134 and by the indexing component 142. Attributes include, for example, a TEXT attribute for the tokenized text of a document, and attributes that are used as input for global analysis computations, such as an ANCHORTEXT attribute for the source anchor text of a document. An anchor may be described as a path or link to a document (e.g., a URL), while anchor text may be described as text associated with the path or link (e.g., a URL) that points to a document. In certain implementations, anchor text is text that labels or encloses hypertext text links in Web documents. Implementations of the invention provide an API to retrieve the value of a given attribute for a document from the store 210.


In certain implementations, the bundles are organized for efficient storage and retrieval for particular attributes. The store 210 may be implemented in various ways. That is, the implementation of the store 210 is independent from the pipelined architecture described for implementations of the invention, as long the functionality of retrieving attributes from documents is supported.


The indexing component 142 builds an index 220 from the store 210. The index 220 is used to determine which documents are chosen as “hits” when a query for a set of documents is received with certain criteria. Different information retrieval system 130 may use different index structures, such as an inverted text index over the documents content. Implementations of the invention are applicable to any type of index structure.


The information retrieval system 130 periodically updates the store 210 and index 220 with new documents. In certain implementations, the term “new” documents is used to refer to newly generated documents and to updated existing documents. This is especially useful in environments in which documents are constantly being created or updated. Additionally, certain implementations of the invention use a delta store 230 to accumulate changes to the store 210 and use a delta index 240 as an index over the delta store 230. This allows the index 220 to be rebuilt using an efficient batch process. The delta store 230 and delta index 240 mirror the structure and functionality of the store 210 and index 220, respectively. To make newly documents visible, queries requesting documents are run over both the index 220 and the delta index 240. The delta store 230 is periodically merged with the store 210, after which the index 220 is rebuilt, and the delta store 230 and the delta index 240 are reset. Resetting may be described as clearing the data structures of current content.



FIG. 3 illustrates an index build process 300 implemented by the indexing component 142 in accordance with certain implementations of the invention. The index build process 300 takes as input the current version of store 210 (labeled Storei in FIG. 3) and the current version of delta store 230 (labeled DeltaStore in FIG. 3). The index build process 300 then merges the current version of store 210 with the current version of delta store 230 and generates a new version of store 210 (labeled Storei+1 in FIG. 3) and a new index 220 (labeled Indexi+1 in FIG. 3). The store 210 and index 220 are generated together in time in this manner. As Storei+1 is generated from the current store 210 and the delta store 230, garbage collection takes place. Garbage collection may be described as a policy for ensuring that newer versions of documents replace older versions of documents in the store 210. For example, if document D in Storei has been replaced by a newer version of document D in the delta store 230 (called document D′), then only document D′ appears in Storei+1. After the index build process 300 has finished, Storei+1 and Indexi+1 are copied, for example, to an appropriate data store 170, and the delta store 230 and delta index 240 are reset. A single scan of Storei and the DeltaStore is sufficient to perform garbage collection and generate Storei+1 and Indexi+1.


The delta store 230 and the delta index 240 are also generated together in time, but at a faster rate than the store 210 and the index 220. Thus, DeltaStore has no subscript in FIG. 3. FIG. 4 illustrates a delta index build process 400 implemented by the delta indexing component 144 in accordance with certain implementations of the invention. The delta index build process 400 takes as input a version of the delta store (labeled DeltaStorej in FIG. 4) and new documents. The delta index build process 400 merges DeltaStorej with the new documents to generate a new version of delta store (labeled DeltaStorej+1 in FIG. 4) and a new version of delta index (labeled DeltaIndexj+1 in FIG. 4). New documents may be stored in the same manner as documents in the delta store 230. Consequently, the process shown in FIG. 4 is similar to the one shown in FIG. 3, with new documents effectively acting as a delta to the delta store 230. A single scan of the new documents and DeltaStorej is sufficient to do garbage collection and generate DeltaStorej+1 and DeltaIndexj+1.



FIG. 5 illustrates a process for merging a store 210 and delta store 230 in accordance with certain implementations of the invention. Store 210 is labeled Storei 510 and the delta store 230 is labeled DeltaStore 520 in FIG. 5. In certain implementations, for the processing of FIG. 5, data associated with a document (i.e., attribute value pairs) are grouped together into a single binary object. In the example of FIG. 5, documents D1 and D5 in Storei 510 have been replaced by more recent versions documents D1′ and D5′, respectively, in DeltaStore 520. Thus, documents D1 and D5 are garbage collected as a newer version of the data store (labeled Storei+1 530 in FIG. 5) is generated. In certain implementations, copying a bundle from the DeltaStore 520 to Storei+1 530 may be done with a file rename, depending on whether any meta-data in the bundle is to be updated.


The process illustrated in FIG. 5 may also be used to merge the delta store 230 and new documents. However, multiple versions of the same document may appear in the new documents. To ensure that the most recent version of a document is merged into the delta store 230, new documents are scanned in Last In First Out (LIFO) order.


In certain implementations, in FIG. 5, as a bundle in DeltaStore 520 is scanned, the bundle is copied to Storei+1 530, with a filter being set to indicate that the documents in this bundle have been “seen”. After DeltaStore 520 is scanned, Storei 510 is scanned. As a bundle is scanned in Storei 510, the filter is probed to determine whether any documents in that bundle have been “seen” (i.e., copied from the DeltaStore 520 to Storei+1 530). Any “seen” documents may be skipped in Storei 510 (i.e., not copied to Storei+1). In certain implementations, a hash table may be used in conjunction with the filter. Structure 540 represents a filter that optionally has an associated hash table.


To avoid multiple scans of the current store 210 during index build, Storei+1 and Indexi+1 are generated in parallel. This is accomplished by feeding the bundles of Storei+1 into the sort for Indexi+1 before they are copied to storage (e.g., disk). The final phase of building Indexi+1, which consists of merging sorted runs, takes place after Storei+1 is copied to storage (e.g., disk). The delta index 240 is built in a similar way, that is, using a single scan of the delta store 230 and new documents. Certain implementations of the invention provide a store merge API that marks two stores as merged and does not do any garbage collection until the index build process initiates a scan of the merged store.



FIG. 6A illustrates logic for an index build process in accordance with certain implementations of the invention. FIG. 6B illustrates, in a block diagram, a high-level flow of an index build process in accordance with certain implementations of the invention. In FIG. 6A, control begins at block 600 and documents that are to be indexed by the search engine 130 are obtained. In certain implementations, the documents are published or pushed (e.g., as may be the case with newspaper articles) to the indexing component 142. In certain implementations, the crawler component 132 discovers, fetches, and stores the documents. At a subsequent time, in block 602, the crawler component 132, discovers, fetches, and stores new documents in delta store 230.


In block 604, the global analysis component 134 performs global analysis. For example, the global analysis component 134 may perform multiple global analysis computations, such as duplicate detection, anchor text analysis, and static ranking. In certain implementations, the global analysis component 134 performs the duplicate detection, anchor text analysis, and static ranking directly, and, in certain implementations, the global analysis component 134 invokes the duplicate detection 138, anchor text 140, and static rank 136 components to perform this processing.



FIG. 6C illustrates auxiliary data structures that may be used by global analysis computations in accordance with certain implementations of the invention. The auxiliary data structures include a duplicates table 670, an anchor text table 672, and a rank table 674. The duplicates table 670 identifies documents that are duplicates of each other and identifies a “master” among duplicates. The anchor text table 672 collects anchor text pointing to each document in the store 210. The rank table associates a static rank with each document in the store 210. Thus, the global analysis component 134 is capable of performing any global analysis computations used by the information retrieval system 130, using data structures used by each of these global analysis computations. The global analysis computations and data structures presented herein are just examples of possible scenarios. The global analysis computations and data structures presented herein are useful to illustrate how the global analysis computations are integrated in the index build process and how intermediate results may be shared among global analysis computations in a pipelined manner.


The duplicates table 670, anchor text table 672, and rank table 674 are derived from a global analysis of the documents in the store 210. Although the duplicates table 670, anchor text table 672, and rank table 674 are illustrated as single entities, one or more of the duplicates table 670, anchor text table 672, and rank table 674 may be implemented as one or more tables in storage (e.g., disk). A subscript used with each data structure denotes which version of the store 210 that the data structure reflects. For example, Ranki+1 corresponds to the ranking of documents in Storei+1.


After the global analysis component performs processing, the indexing component builds an index 220 (block 606) and builds a delta index 240 (block) 608.


With reference to FIG. 6B, a global analysis process 650 implemented by the global analysis component 134 takes Storei and DeltaStorei as input and outputs Ranki+1, AnchorTexti+1, and Dupi+1. The index build process 652 implemented by the indexing component 142 then takes this information, along with Storei and DeltaStorei, and generates Storei+1 and Indexi+1. During this process, garbage collection is performed on Storei. After Storei+1 and Indexi+1 have been generated, the delta index build process 654 implemented by the delta indexing component 144 may be resumed. The delta index build process cycles at its own rate, generating a new delta store 230 and delta index 240 each cycle.


The performance of the index build process is largely bound by the time to do a scan of the store 210 and to perform the global analysis computations, which might be quite expensive. Two scans of the store 210 are required in FIG. 6B. One scan is to perform global analysis computations and another scan is to build the index. Certain implementations of the invention reduce the time for the index build process by modifying the flow for index build. In particular, certain implementations of the invention use Ranki, AnchorTexti, and Dupi to build Indexi+1 rather than Ranki+1, AnchorTexti+1, and Dupi+1. In other words, a slightly older (“stale”) global analysis (GAi) is used to build Indexi+1 rather than GAi+1.



FIG. 7A illustrates logic for an index build process in accordance with certain alternative implementations of the invention. FIG. 7B illustrates, in a block diagram, a high-level flow of an index build process in accordance with certain alternative implementations of the invention. In FIG. 7A, control begins at block 700 with the crawler component 132 discovering, fetching, and storing documents in store 210. At a subsequent time, in block 702, the crawler component 132, discovers, fetches, and stores new documents in delta store 230.


In block 704, the global analysis component 134 performs global analysis. In block 706, the indexing component 142 builds an initial index using slightly older input data. In block 708, the global analysis component 134 performs global analysis, while the delta index component 144 builds a new delta store and a new delta index.


With reference to FIG. 7B, the index build process 750 implemented by the indexing component 142 uses GAi to build Indexi+1 rather than using GAi+1 to build Indexi+1. In certain implementations, there may be some loss in index precision, but the loss is likely to be small since information, such as document rank, is unlikely to change drastically from GAi to GAi+1.


In FIG. 7B, the index build process 750 produces “raw” versions of AnchorTexti+1, and Dupi+1. This information is extracted from Storei and DeltaStore as they are scanned. The term “raw” indicates that more processing is needed to produce the final version. For example, because of duplicates, the raw AnchorTexti+1 may contain multiple copies of the same anchor text. The global analysis process 752 implemented by the global analysis component 134 refines the raw information and produces GAi+1.


In FIG. 7B, the anchor text for Storei+1 is aggregated into AnchorTexti+1. The anchor text remains there, and the store is not later updated to add each document's anchor text to its bundle. This is avoided as it may require updating many bundles in the store, which is expensive in terms of resources that are used.


In addition to cutting the number of store 210 scans in half, using slightly older global analysis results (GA) also allows the delta index build process 754 to be done in parallel with the global analysis process 752. This allows the cycle time of the index build process to be reduced.



FIG. 8 illustrates processing using current global analysis results 800 versus using slightly older global analysis results 820 in accordance with certain implementations of the invention. As illustrated in FIG. 8, if the current global analysis results are used, then the delta index build process is stopped during the global analysis process, otherwise the global analysis would not reflect the current contents of the delta store. In contrast, by using a slightly older (“stale”) global analysis results, the delta index build process may be performed in parallel with the global analysis process.


In order to generate the first index (Index0), implementations of the invention run the index build process in FIG. 7B twice, with the appropriate inputs and outputs set to null each time. More specifically, building the first index begins with the first store (Store0). In the first iteration, Store0 is input to the indexing component 142, which outputs raw Dup0 and raw AnchorText0. These are input to the global analysis component 134, which outputs Dup0, AnchorText0, and Rank0. Then, on the second iteration, Store0, Rank0, Dup0, and AnchorText0 are input to the indexing component 142, which generates Index0.



FIG. 9A illustrates logic for a global analysis process in accordance with certain implementations of the invention. FIG. 9B illustrates, in a block diagram, a flow of the global analysis process in accordance with certain implementations of the invention. In FIG. 9A, control begins at block 900 with duplicate detection 950 being performed using as input raw Dupi+1 and GAi and outputting Dupi+1. In block 902, anchor text analysis 952 is performed using as input AnchorTexti+1 and GAi and outputs AnchorTexti+1. In block 904, static ranking 954 is performed with input Ranki+1 and GAi and outputting Ranki+1.


With reference to FIG. 9B, the global analysis process inputs raw versions of AnchorTexti+1, and Dupi+1 and outputs Ranki+1 along with AnchorTexti+1, and Dupi+1. The duplicate detection produces Dupi+1 by sorting the raw version of Dupi+1 on, for example, a destination URL. Dupi+1 identifies a single “master” URL for each set of duplicate documents. This information is used by the anchor text analysis 952, which replaces destination and source URLs by their master URLs, so that duplicate anchor text may be kept out of the index. A projection on AnchorTexti+1 is then used to produce raw Ranki+1 (e.g., in the form of a link graph (Linki+1)) of destination and source URLs. The static rank component 136 computes Ranki+1 from Linki+1. Thus, common intermediate results are shared between global analysis computations.


Thus, when creating an index, global analysis need not yet be finished. Instead, the index build process uses the results of a recent global analysis process that has already finished. In certain implementations, for documents that have changed since the global analysis was computed, the change may be ignored and the available results may be used, while for new documents for which no results are available, a default value (e.g. a minimum or average value) may be used. That is, although document content may have changed, the already computed information, e.g. rank, may be used without loss of precision.


Lagging global analysis may be used in different scenarios. For example, if global analysis is slower than an index build, but fast enough to run between two index builds, index build for iteration N may use the global analysis results from iteration (N−1). Hence global analysis for iteration N may run concurrently. Moreover, if global analysis takes longer than the time between two index builds, global analysis may run continuously in the background. Whenever an iteration of global analysis finishes, another iteration starts over with the most recent data. In certain implementations, global analysis may be skipped for a few iterations of the index build. The indexing component 142 then uses the most recent complete global analysis results.


A high frequency of index builds are achieved to fulfill strict freshness requirements, at the temporary cost of some precision in the global analysis. Also, the architecture allows new documents to be indexed in smaller indices (delta indices) that are queried together with the main indices. In certain implementations, global analysis is not performed for the delta indices in the first version of those indices. Thus, when the freshness requirements are strict compared to the time required by the global analysis computations, new documents may be indexed and retrieved before their global information is computed.


In certain implementations, the techniques of the invention may be applied to per-document analysis (e.g., summarization, keyword extraction, etc.) that does not require a global analysis of an entire corpus. Using lagging per-document analysis information is especially useful in scenarios where the change rate of documents is high, and the per-document analysis is expensive.


Additional Implementation Details

The described techniques for a pipelined architecture for global analysis and index building 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 various implementations 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 logic of FIGS. 6A, 7A, and 9A describes specific operations occurring in a particular order. In alternative implementations, certain of the logic operations may be performed in a different order, modified or removed. Moreover, operations may be added to the above described logic and still conform to the described implementations. Further, operations described herein may occur sequentially or certain operations may be processed in parallel, or operations described as performed by a single process may be performed by distributed processes.


The illustrated logic of FIGS. 6A, 7A, and 9A may be implemented in software, hardware, programmable and non-programmable gate array logic or in some combination of hardware, software, or gate array logic.



FIG. 10 illustrates an architecture of a computer system that may be used in accordance with certain implementations of the invention. For example, client computer 100, server computer 120, and/or operator console 180 may implement computer architecture 1000. The computer architecture 1000 may implement a processor 1002 (e.g., a microprocessor), a memory 1004 (e.g., a volatile memory device), and storage 1010 (e.g., a non-volatile storage area, such as magnetic disk drives, optical disk drives, a tape drive, etc.). An operating system 1005 may execute in memory 1004. The storage 1010 may comprise an internal storage device or an attached or network accessible storage. Computer programs 1006 in storage 1010 may be loaded into the memory 1004 and executed by the processor 1002 in a manner known in the art. The architecture further includes a network card 1008 to enable communication with a network. An input device 1012 is used to provide user input to the processor 1002, and may include a keyboard, mouse, pen-stylus, microphone, touch sensitive display screen, or any other activation or input mechanism known in the art. An output device 1014 is capable of rendering information from the processor 1002, or other component, such as a display monitor, printer, storage, etc. The computer architecture 1000 of the computer systems may include fewer components than illustrated, additional components not illustrated herein, or some combination of the components illustrated and additional components.


The computer architecture 1000 may comprise any computing device known in the art, such as a mainframe, server, personal computer, workstation, laptop, handheld computer, telephony device, network appliance, virtualization device, storage controller, etc. Any processor 1002 and operating system 1005 known in the art may be used.


The foregoing description of implementations 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 implementations of the invention may be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.

Claims
  • 1. A method for building an index, comprising: storing, using a computer with a processor, a current version of a store having a tokenized version of each document in a corpus of documents, a delta store accumulating changes to the current version of the store, and previously generated global analysis computations, wherein the previously generated global analysis computations include an anchor text table, a rank table, and a duplicates table;building a new version of the index and outputting a raw anchor text table and a raw duplicates table a by accessing the current version of the store, the delta store, and the previously generated global analysis, computations; andgenerating new global analysis computations by accessing the raw anchor text table, the raw duplicates table, and the previously generated global analysis computations, wherein the new global analysis computations include a new anchor text table, a new rank table, and a new duplicates table.
  • 2. The method of claim 1, further comprising: building a new version of a delta store using the previously generated global analysis computations, a current version of a delta store, and newly crawled documents.
  • 3. The method of claim 1, further comprising: building a new version of a delta index using the previously generated global analysis computations, a current version of a delta store, and newly crawled documents.
  • 4. The method of claim 3, wherein the creation of the new delta index allows new documents to be indexed and retrieved before global analysis computations for the new documents are performed.
  • 5. The method of claim 3, further comprising: receiving a query requesting retrieval of one or more documents; andaccessing the new version of the index and the new version of the delta index to retrieve one or more documents.
  • 6. The method of claim 3, wherein generating the new global analysis computations is performed in parallel with creation of the new version of the delta index.
  • 7. The method of claim 1, wherein the new global analysis computations are generated using results of recent processing of documents existing at a certain point in time.
  • 8. An article of manufacture comprising a tangible computer readable storage medium storing a program for building an index, wherein the program, when executed by a processor of a computer, causes operations to be performed, the operations comprising: storing a current version of a store having a tokenized version of each document in a corpus of documents, a delta store accumulating changes to the current version of the store, and previously generated global analysis computations, wherein the previously generated global analysis computations include an anchor text table, a rank table, and a duplicates table;building a new version of the index and outputting a raw anchor text table and a raw duplicates table by accessing the current version of the store storei, the delta store, and the previously generated global analysis computations; andgenerating new global analysis computations by accessing the raw anchor text table, the raw duplicates table, and the previously generated global analysis computations, wherein the new global analysis computations include a new anchor text table, a new rank table, and a new duplicates table.
  • 9. The article of manufacture of claim 8, wherein the operations for index creation further comprise: building a new version of a delta store using the previously generated global analysis computations, a current version of a delta store, and newly crawled documents.
  • 10. The article of manufacture of claim 8, wherein the operations further comprise: building a new version of a delta index using the previously generated global analysis computations, a current version of a delta store, and newly crawled documents.
  • 11. The article of manufacture of claim 10, wherein the creation of the new delta index allows new documents to be indexed and retrieved before global analysis computations for the new documents are performed.
  • 12. The article of manufacture of claim 10, wherein the operations further comprise: receiving a query requesting retrieval of one or more documents; andaccessing the new version of the index and the new version of the delta index to retrieve one or more documents.
  • 13. The article of manufacture of claim 10, wherein generating the new global analysis computations is performed in parallel with creation of the new version of the delta index.
  • 14. The article of manufacture of claim 8, wherein the new global analysis computations are generated using results of recent processing of documents existing at a certain point in time.
  • 15. A computer system, comprising: a processor; andhardware logic for: storing a current version of a store having a tokenized version of each document in a corpus of documents, a delta store accumulating changes to the current version of the store, and previously generated global analysis computations, wherein the previously generated global analysis computations include an anchor text table, a rank table, and a duplicates table;building a new version of the index and outputting a raw anchor text table and a raw duplicates table by accessing the current version of the store, the delta store, and the previously generated global analysis computations; andgenerating new global analysis computations by accessing the raw anchor text table, the raw duplicates table, and the previously generated global analysis computations, wherein the new global analysis computations include a new anchor text table, a new rank table, and a new duplicates table.
  • 16. The computer system of claim 15, wherein the logic for index creation further comprises: building a new version of a delta store using the previously generated global analysis computations, a current version of a delta store, and newly crawled documents.
  • 17. The computer system of claim 15, wherein the logic further comprises: building a new version of a delta index using the previously generated global analysis computations, a current version of a delta store, and newly crawled documents.
  • 18. The computer system of claim 17, wherein the creation of the new delta index allows new documents to be indexed and retrieved before global analysis computations for the new documents are performed.
  • 19. The computer system of claim 17, wherein the logic further comprises: receiving a query requesting retrieval of one or more documents; andaccessing the new version of the index and the new version of the delta index to retrieve one or more documents.
  • 20. The computer system of claim 17, wherein generating the new global analysis computations is performed in parallel with creation of the new version of the delta index.
  • 21. The computer system of claim 15, wherein the new global analysis computations are generated using results of recent processing of documents existing at a certain point in time.
CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of and claims the benefit of U.S. Pat. No. 7,293,005, having application Ser. No. 10/764,772, filed on Jan. 26, 2004, the disclosure of which is incorporated herein by reference in its entirety.

US Referenced Citations (200)
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 Pederson et al. Jun 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
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
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
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
6336117 Massarani Jan 2002 B1
6339772 Klein et al. Jan 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
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
6678409 Wu et al. Jan 2004 B1
6725214 Garcia-Chiesa Apr 2004 B2
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
6829606 Ripley Dec 2004 B2
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
6907423 Weil et al. Jun 2005 B2
6934634 Ge Aug 2005 B1
6985948 Taguchi et al. Jan 2006 B2
6990634 Conroy et al. Jan 2006 B2
6999971 Latarche et al. Feb 2006 B2
7024623 Higashiyama et al. Apr 2006 B2
7031954 Kirsch Apr 2006 B1
7051023 Kapur et al. May 2006 B2
7065784 Hopmann et al. Jun 2006 B2
7080091 Matsuda Jul 2006 B2
7089532 Rubin Aug 2006 B2
7096208 Zaragoza et al. Aug 2006 B2
7136806 Miyahira et al. Nov 2006 B2
7139752 Broder et al. Nov 2006 B2
7146361 Broder et al. Dec 2006 B2
7173912 Jaber et al. Feb 2007 B2
7197497 Cossock Mar 2007 B2
7243301 Bargeron et al. Jul 2007 B2
7257593 Mazner et al. Aug 2007 B2
7318075 Ashwin et al. Jan 2008 B2
7356530 Kim et al. Apr 2008 B2
7362323 Doyle Apr 2008 B2
7424467 Fontoura et al. Sep 2008 B2
7461064 Fontoura et al Dec 2008 B2
7499913 Kraft et al. Mar 2009 B2
20010049671 Joerg Dec 2001 A1
20020032677 Morgenthaler et al. Mar 2002 A1
20020120685 Srivastava et al. Aug 2002 A1
20020165707 Call Nov 2002 A1
20020169770 Kim et al. Nov 2002 A1
20030028564 Sanfilippo Feb 2003 A1
20030046311 Baidya et al. Mar 2003 A1
20030163454 Jacobsen et al. Aug 2003 A1
20030177127 Goodwin et al. Sep 2003 A1
20030187833 Plu Oct 2003 A1
20030217052 Rubenczyk et al. Nov 2003 A1
20030225763 Guilak et al. Dec 2003 A1
20040044962 Green et al. Mar 2004 A1
20040078387 Benjamin et al. Apr 2004 A1
20040098399 Risberg et al. May 2004 A1
20040111408 Caudill et al. Jun 2004 A1
20040123104 Boyen et al. Jun 2004 A1
20040243554 Broder et al. Dec 2004 A1
20040243556 Ferrucci et al. Dec 2004 A1
20040243560 Broder et al. Dec 2004 A1
20040243581 Weissman 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
20050149499 Franz et al. Jul 2005 A1
20050149576 Marmaros et al. Jul 2005 A1
20050149851 Mittal Jul 2005 A1
20050165800 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
20080294634 Fontoura et al. Nov 2008 A1
20080301130 Fontoura et al. Dec 2008 A1
20090083270 Kraft et al. Mar 2009 A1
Foreign Referenced Citations (2)
Number Date Country
0809197 Nov 1997 EP
9749048 Dec 1997 WO
Related Publications (1)
Number Date Country
20070282829 A1 Dec 2007 US
Continuations (1)
Number Date Country
Parent 10764772 Jan 2004 US
Child 11840881 US