The present invention relates to a system for searching a remote database, and more particularly to a system which indexes documents in the database, which identifies documents in the index that include user-specified data, and which outputs a list of documents that contain such data and, optionally, excerpts from those documents. The invention has particular utility in connection with text indexing and retrieval systems, such as World Wide Web search engines.
In general, search engines search through a database for specific data and retrieve titles of documents in the database which contain that data. For example, World Wide Web search engines, such as Altavista™ and Yahoo®, provide users with the ability to search the Web for documents containing user-specified words, phrases, or the like. However, conventional search engines, and Web search engines in particular, suffer from a drawback in that they do not allow a user to direct a search to a single database.
More specifically, conventional Web search engines, such as those noted above, operate by generating an index for all sites on the Web, and then retrieving data from that index in response to user queries. Since these search engines generate an index for all sites on the Web, however, they are limited to searching the entire Web. This is disadvantageous, particularly for those users who only want to search specific sites.
In response to the foregoing drawbacks in the art, software manufacturers have developed site-specific searching systems, such as Ultraseek™, which ostensibly allow users to limit their searches to specific Web sites. To use these systems, however, they must be installed at each Web site, e.g., by the Web site's provider. Once installed, the systems create an index of the Web site at the provider's location. Thereafter, when a user accesses the Web site and inputs a search query, code at the site searches that index for the query, and relays the results of the search back to the user.
While the foregoing types of site-specific searching systems address some of the problems associated with conventional Web search engines, such as Yahoo® and the like, they have several drawbacks. For example, their installation and subsequent maintenance can be costly and time consuming. As a result, Web site providers often choose not to install such systems at their sites. Additional problems arise with these systems in cases where a Web site is maintained by a Web site hosting company, as opposed to by the provider itself. That is, in these cases, in addition to the above problems, problems relating to licensing and the like arise, which make it difficult to implement conventional site-specific searching systems in a cost-effective manner.
In addition to the foregoing drawbacks, conventional database searching systems provide the user with only names/titles of documents in response to a query. For example, conventional Web search engines provide only the name of a document containing a search term, together with a uniform resource locator (“URL”) for that document. As a result, it is not always possible for the user to determine which of the retrieved documents is relevant without actually linking to, and opening, the document. This can slow down searching significantly.
Thus, there exists a need for a searching system which provides the user with the ability to search a portion of a database, such as one or more sites on the World Wide Web, and which is more cost effective, efficient, and easy to use than the conventional systems described above. In addition, there exists a need for a database searching system which is able to provide a user with the context of each search term in documents retrieved as a result of the search.
The present invention addresses the foregoing needs by providing a way to search through a database at one network site (e.g., a Web site) using a host computer which is at another network site. By hosting the search at a separate site, the present invention facilitates site-specific searching, as described below.
More specifically, according to the present invention, a Web site provider, for example, is able to create a search engine for the Web site simply by accessing the present invention via the Web and entering a request for a new account. In response to this request, the invention assigns the Web site a provider identifier, and then extracts URL(s) from the Web site. Thereafter, the invention “crawls” through the site in order to create an index of the site, which comprises data from the site indexed by document (e.g., Web page) and provider identifier. Once the indexing process has been completed, the site provider need simply copy a few (e.g., 10) lines of code into any sites for which searching capabilities are desired.
Following the foregoing (i.e., the setup), each time the Web site is visited, it will automatically transmit its provider identifier to the visiting user's site. In addition, the Web site will display a search line, from which the visiting user may enter queries to search the site for specific data. When such a query is entered, the query, together with the provider identifier, is passed from the user's site to the host computer's site, where the actual searching takes place. Specifically, at the host computer's site, an index corresponding to the provider identifier is retrieved from memory and searched for the data specified in the user's query. Thereafter, a list of documents which contain the data (including URLs in the case of the Web) is output from the host computer's site to the user's site and displayed there.
By conducting the search at the host computer's site, rather than at the Web site itself, the present invention reduces the difficulties involved with installing and maintaining an entire software application at the Web site. As a result, the present invention provides a way to search specified Web sites (and other types of databases as well), which is more efficient and less costly and time consuming than the conventional site-specific searching systems described above.
Thus according to one aspect, the present invention is a system (i.e., a method, an apparatus, and computer-executable process steps) for initiating a search at a first network site for user-specified data in a remote database at a second network site and for conducting the search at a third network site (e.g., at a host computer's site). To begin, the system receives, at the first network site, a provider identifier associated with the database from the second network site. Thereafter, the user-specified data is input at the first network site, following which the user-specified data and the provider identifier are output from the first network site to the third network site. The system then searches for the user-specified data in a database at the third network site using the provider identifier. In the invention, this database at the third network site includes data that corresponds to data stored in the remote database at the second network site.
According to another aspect, the present invention is a way to configure a computerized searching system (such as the searching system resident at the host computer's site described above) so that the searching system can be used to search a database. In this aspect of the invention, information identifying the database is input, a provider identifier is assigned to the database, and a search through the database is conducted using the input information in order to identify locations of documents in the database. Thereafter, the locations of the documents in the database are stored in memory together with the provider identifier, and the documents in the database are indexed. An index of the documents is then stored in memory together with the provider identifier; and data corresponding to data in the database is also stored in memory together with the provider identifier. The provider identifier is then output to the database. As noted above, this provider identifier is transmitted to those who visit the site.
According to still another aspect, the present invention is a system for identifying which documents in a database contain user-specified data. The system stores, in memory, indices of data in plural databases, such as those noted above. The system then receives the user-specified data and a provider identifier which corresponds to one of the plural databases, and retrieves, from memory, an index of data for a database that corresponds to the provider identified. Thereafter documents in the retrieved index that contain the user-specified data are identified, and identities thereof are output to the user.
The present invention also provides an optional feature for displaying excerpts from documents identified by a database search. In this aspect of the invention, the index of documents in the database is stored, and pointers to data segments in the database are generated based on the index. These data segments comprise target data together with data surrounding the target data. That is, assuming that the target data comprises a word which matches an input user query, the data segment for that word might comprise, e.g., five words to the left of the word, the word itself, and five words to the right of the word. When the invention searches the index for the word, it compiles a list of pointers to data segments which include the word. These data segments may then be extracted and passed to a user's site for display along with the list of documents.
Thus, according to this aspect, the invention is a system for retrieving a list of documents in a database which include user-specified data, and of retrieving one or more data segments from each document on the list. The system includes storing an index of documents from the database, the index including pointers corresponding to data in the database, where the pointers define data segments having a predetermined size. One or more documents in the database that contain the user-specified data are then identified based on the index; and a list is created which includes one or more pointers corresponding to each occurrence of the user-specified data in the identified documents. Each data segment in the database that contains the user-specified data is extracted based on the list of pointers created in the creating step, whereafter a list of the documents in the database that contain the user-specified data is output, together with the extracted data segments.
By virtue of the foregoing, the invention makes it possible to display data excerpts (i.e., segments) from each document found in the search. A user may then refer to these excerpts in order to determine whether each document is relevant, instead of actually opening the document. As a result, the present invention facilitates database searching.
This brief summary has been provided so that the nature of the invention may be understood quickly. A more complete understanding of the invention can be obtained by reference to the following detailed description of the preferred embodiment thereof in connection with the attached drawings.
Application execution and other tasks of PC 2 and query server 4 may be controlled and/or altered using keyboard 10 or mouse 11, commands from which are transmitted to processor 29 via keyboard interface 21 and mouse interface 22, respectively. Output results from some applications running on PC 2 may be processed by display interface 20 and then displayed to a user on display 9. To this end, display interface 20 preferably comprises a display processor for forming images based on data provided by processor 29 over computer bus 26, and for outputting those images to display 9. Other applications, such as results page generator 19 receive their inputs from, and/or provide outputs to, network interfaces 5 and 6.
In preferred embodiments of the invention, search engine 36 and indexer module 37 are based upon the search engine and indexer described in “The SMART Retrieval System: Experiments in Automatic Document Processing” by Gerald Salton (Prentice-Hall, Inc. (1971)) and “A Theory of Indexing” also by Gerald Salton (J. W. Arrowsmith, Ltd. (1975)). The contents of these two documents are hereby incorporated by reference into the subject application as if set forth herein in full. Web robot 35 can comprise any commercially available Web robot.
Applications such as search and index hosting application 39 are executed by processor 30 out of RAM 31, and results therefrom are output to host computer 2 via network connection 5. In this regard, search and index hosting application 39 comprises a database-specific search engine, in that it identifies which documents in a database contain a user-specified query term. The application then retrieves a list of such documents and, optionally, one or more data segments from each document on the list., In the preferred embodiment of the present invention, the database searched by application 39 is a Web site and the documents comprise one or more Web pages. However, it is noted that the invention is not limited to searching Web sites and, in fact, can be used to search a variety of different types of databases. Moreover, it is noted that although the invention will be described with respect to retrieving documents from Web sites based on text/character strings, the invention is not limited to this either. That is, the invention may also be used to retrieve images or other figures from any type of database.
Prior to performing site-specific searching using the present invention, it is necessary for a Web site provider to set up an account.
Once the contact information and entry point URLs have been added to the new account form, the “filled-out” form is transmitted over the network to the host computer system. There, contact information 46 and entry point URLs 48 are extracted from the new account form, as shown in
In step S405, indexer module 37 indexes data stored in documents on the Web site. More specifically, indexer module 37 reviews each of Web documents 55 identified by Web robot 35, and creates an index of pointers to data in the Web site, where the data is indexed according to document, location in the document, and provider identifier. This index, together with the provider identifier and predetermined document identifiers, is then stored in multiple index storage 56 in step S406. In preferred embodiments of the invention, multiple index storage 56 resides in memory 34 of query server 4; although the invention is not limited to storing multiple index storage 56 there.
In addition to indexing data in the manner described above, in step S407, indexer module 37 compresses data from the Web site and stores that data in compressed document full text storage 57, together with the provider identifier for the site. As was the case above, storage 57 can reside in memory 34; although the invention is not limited to this. Next, in step S408, indexer 37 outputs processing results 59, including the provider identifier, to the provider's representative, as shown in
Once an account has been established for the Web site, the provider's representative should copy code provided by the host computer system into their Web site. A representative example of such code is shown in the Appendix attached hereto. Among other things, this code permits the Web site to provide an interface to search and index hosting application 39 on the host computer system. As an illustration,
First, however, it is noted that although the invention has been described with respect to only one Web site provider, the invention is not limited to use with only one provider. In fact, the invention is able to handle searches of any number of Web sites. That is, any number of Web site providers' representatives may set up accounts with the host computer system. As a result, the host computer system may store indices of data from plural databases (e.g., plural Web sites), locations of documents in those plural databases, and compressed text from the plural databases. However, because the invention also stores with each of these a provider identifier, the invention is able to select the appropriate data readily, and thus to perform site-specific searches. This feature of the invention is described more fully below.
In brief, as shown
More specifically, as shown in
Thereafter, in step S1002, index retriever 74 uses provider identifier 67 to retrieve, from multiple index storage 56, an index of data that has the same provider identifier as the Web site. This index with the same provider identifier, labeled 75 in
Step S1004 determines whether data segments in each identified document should be output along with a list of identified documents. In a case that step S1004 determines that no data segments should be output, processing proceeds to step S1005 of
The extracted document locations and titles 79 are then output, via local network 70, to results page generator 19. In step S1006, results page generator 19 generates a results page showing titles of, and URL links to, documents on the Web site which contain the data specified in the query. This results page 80 is then passed to the user's computer via network 69, where it is displayed. In preferred embodiments of the invention, this results page also includes an entry line, such as entry line 81 shown in
Returning to
Thus, following step S1004, in step S1007 concordance generator 78 searches the documents identified in step S1003 for locations of the user-specified data.
Roughly concurrently, in step S1009, concordance generator 78 extracts the provider identifier for the current Web site from index 75, and selects and retrieves compressed data 82 for that Web site from full compressed text storage 57. Thereafter, in step S1010, concordance generator 78 decompresses selected data segments that correspond to the pointers generated in step S1008. In preferred embodiments of the invention, only compressed data corresponding to the selected data segments is decompressed. As noted in
Arrays 84 of concordance strings are then output from query server 4 to results page generator 19 via local network 70. Results page generator 19 uses the decompressed data segments to formulate its results page. In addition, results page generator 19 extracts document identifiers 85 corresponding to the decompressed data segments, and passes these document identifiers back to query server 4. In step S1011, query server 4 extracts locations (e.g., URLs) and titles of documents from user database 49 that match the document identifiers, and passes this information back to results page generator 19. Results page generator 19 formulates a results page which includes document titles, data segments, URLs, and the original query term, and passes the results page, together with the provider identifier, back to the user in step S1012. The results page is then displayed on the user's computer. As was the case above, the results page may include an entry line, from which the user may conduct another search of the Web site specified by the provider identifier. If no additional search is to be conducted, processing ends. Otherwise, the foregoing process is repeated for the new search.
The present invention has been described with respect to a particular illustrative embodiment. It is to be understood that the invention is not limited to the above-described embodiment and modifications thereto, and that various changes and modifications may be made by those of ordinary skill in the art without departing from the spirit and scope of the appended claims.
This application is a divisional of U.S. patent application Ser. No. 10/377,562 filed Feb. 28, 2003, now U.S. Pat. No. 7,047,246, which is divisional of U.S. patent application Ser. No. 09/998,940 filed on Nov. 30, 2001, now U.S. Pat. No. 6,651,065, which is a continuation of U.S. patent application Ser. No. 09/130,420 filed on Aug. 6, 1998, now U.S. Pat. No. 6,336,116, the contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 10377562 | Feb 2003 | US |
Child | 11430779 | May 2006 | US |
Parent | 09998940 | Nov 2001 | US |
Child | 10377562 | Feb 2003 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09130420 | Aug 1998 | US |
Child | 09998940 | Nov 2001 | US |