The present invention claims priority from Japanese patent application 2006-275169 (filed on Oct. 6, 2006) the content of which is hereby incorporated in its entirety by reference into this application.
1. Technical Field
The present invention relates to a an information search system, an information search method, and an information search program, and more particularly to an information search system, an information search method, and an information search program that enables search based on a past view point.
2. Background Art
Widespread use of a web search system, such as Google (registered trademark), has made commonplace a full text search system for electronic files. With a search system, the user searches for information on a daily basis.
Today, the major trend in the full text search systems for electronic files is that an index for high-speed search is created in advance and a user searches an electronic file using this index. Examples of such information search systems are described in Patent Document 1 and Non-Patent Document 1.
The N-gram based method and the morphological analysis method arc known as a technology for creating an index (Non-Patent Document 1).
An index created by those methods, which is generally uncompressed, requires a large capacity that is about 200-300% of the capacity of the original documents.
Another problem is that it is difficult to update this index dynamically.
A user searches for information using this index. This means that the user can get the search result of search target data existing at the time the index was created or updated.
For example, if the index is created based on one-day-old search target data, additions or updates that are made after the index creation time for the search target data are not reflected on the search result.
So, there is a need for reflecting search target data on an index as real-time as possible. The technologies for satisfying this need are described in Patent Document 1 and Patent Document 2.
Patent Document 1 discloses a document search device that, with the index of newly registered document files created in a memory, the document search unit uses both the index data on the new document data stored in the memory and the index data on existing document files stored in the disk device to search the document files. Patent Document 2 discloses a document search device that registers index data on new documents in a sub-index smaller than the main index when the new documents are registered in the index and, at a search time, accesses both indexes to combine the results into the search result.
Patent Document 1: Japanese Patent Kokai Publication No. JP-A-9-22315(page 1)
Patent Document 2: Japanese Patent Kokai Publication No. JP-A-7-146880
Non-Patent Document 1: Kita Kenji, Tsuda Kazuhiko, Shishibori Masamiki “Information Search Algorithm”, KYORITSU SHUPPAN CO., LTD, Jan. 1, 2002 pp. 6, pp. 160-179.
The disclosures of Patent Documents and Non-Patent Document described, above are hereby incorporated by reference into this specification. The following describes the analysis of the technologies related to the present invention. The conventional and existing information search systems have the problems described below.
That is, even if a user performs the same operation as that for a search query that was made in the past, the user cannot sometimes reach the information in the same way as the user did in the past.
The reason is that, in a system where information sources of search target are increased or updated daily, an addition or an update is made daily also to search index and, so, even if the user performs the same search query, the search system sometimes returns different search results.
A user may store a path or a URI(Uniform Resource identifier) of a file, in order to reach the file or information source on the web discovered, by the user in the past.
In general, however, the user does not store a path or a URI of a file; instead, the user sometimes memorizes only how to reach the information.
More specifically, in a situation where a search engine is widely used as it is today, the user memorizes only a search query that was input to the search engine and uses that query again for the search.
For example, the user memorizes a query “a web page searched for using the keyword zzzz, three days ago”.
However, because the index of the search engine is updated or increased daily, the user may obtain different search results even if the same keyword is used for the search. This sometimes results in a situation in which the user cannot reach a file or information again that could he reached before.
There is a possible need for the user to obtain the same search result as that in the past.
Therefore, the present invention is newly provided in view of the foregoing, and a major object of the present invention is to provide an information search system, method, and program that enable search based on a past base point.
To solve the problems described above, the invention disclosed by this application is summarized as follows
According to the present invention, there is provided an information search system, in which partitioned indexes, which are partitioned on a tune series basis, are prepared in index storage means as indexes for information search, the system comprising search means that selects a corresponding partitioned index from a plurality of partitioned indexes, which are partitioned on a time series basis, based on a condition specified by a search request and performs a search using the selected partitioned index.
According to the present invention, there is provided an information search system comprising:
index registration means that registers a partitioned index, which is partitioned on a time series basis, in index storage means as an index for document search; and
search condition input means that receives, as a search condition, information on a time or a trigger, which is used as information on a search base point; and
search means that selectively reads a past partitioned index from the index storage means, based on the information on a search base point that is received, and performs search processing.
In the present invention, if information on the search base point time is not specified, the search means performs the search processing using a latest index and all past partitioned indexes registered in the index storage means.
In the present invention, the configuration may further comprise partitioning trigger notification means that notifies the index registration means of a trigger for index partitioning and registration.
In the present invention, the configuration may further comprise means that notifies the index registration means of a trigger for index partitioning when a backup copy of search target documents is created.
In the present invention, when index data on the same document are stored in a plurality of indexes, the search means performs processing with priority given to a later index.
In the present invention, the index registration means reads a document, which is to be registered in an index, from document storage means in which documents are stored, performs predetermined preparatory processing necessary for index registration, and registers index data in a latest index, and, when performing index partitioning, judges whether or not a trigger for index partitioning is satisfied and, if the index partitioning trigger is satisfied, sets index data, which is stored in a current latest index, in one of partitioned indexes and then creates a latest index as a null and sets the null latest index as an index registration target of the index registration means.
In the present invention, the partitioned indexes recorded in the index storage means include predetermined attribute information used in an information search at a point in time in the past, and an information search result based on the attribute information at the point in time in the past is output by selecting and searching a partitioned index corresponding to the point in time in the past.
According to the present invention, there is provided a method comprising the steps of:
preparing partitioned indexes, which are partitioned on a time series basis, in advance as indexes for information search; and
selecting a corresponding partitioned index from a plurality of partitioned indexes, which are partitioned on as time series basis, based on a condition specified by a search request, for performing a search using the selected partitioned index.
The method according to the present invention further comprises:
an index registration step of registering a partitioned index which is partitioned on a time series basis, in index storage means as an index for document search;
a step of receiving, as a search condition, information on a time or a trigger, which is used as information on a search base point; and
a step of performing search processing by selectively reading past partitioned indexes from the index storage means, based on the information on a search base point that is received.
In the method according to the present invention, if no information on the search base point time is specified, all indexes registered in the index storage means are used for the search.
The method according to the present invention further comprises a step of notifying the index registration step of a trigger for index partitioning.
The method according to the present invention further comprises a step of notifying the index registration step of a trigger for index partitioning, when a backup copy of search target documents is created.
A computer program according to the present invention causes a computer to execute the processing comprising:
registering a partitioned index which is partitioned on a time series basis, in index storage means as an index for document search;
receiving information on a time or a trigger, which is used as information on a search base point, as a search condition; and
selecting a past partitioned index, from the index storage means, based on the information on a search base point that is received and performing search processing.
The present invention enables the user to search for information based on a past base point.
The reason is that the system according to the present invention records the indexes by partitioning them on a time series basis to allow the user to perform search processing using only the indexes older than a past base point.
1 Document storage means
2 Index registration means
3 Search means
4 Search condition input means
5 Search result output means
6 Backup means
7 Partitioning trigger notification means
8 Index management means
10 Latest index
11-17 Partitioned indexes
100 Past index storage unit
Next, the best mode for carrying out the present invention will be described in detail with reference to the drawings.
The past index storage unit 100 includes partitioned indexes 11-14. Although there are four partitioned indexes 11-14 in
The general operation of those means is as follows.
The document storage means 1 performs the function to hold search target documents. For example, the document storage means 1 is one of the following:
Hard disk drive of user's personal computer;
External device such as NAS (Network Attached Storage);
WWW (World Wide Web);
Intranet (web pages in a company).
The search target documents refer to structured information stored in electronic files or databases, for example, web pages or office documents stored in the storage means such as those described above.
The index registration means 2 has the function to create the index of a search target document stored in the document storage means 1 and to register the created index in a latest index 10.
The search means 3 uses the indexes in the partitioned indexes 10-14 to perform the search processing. Search conditions such as a search keyword or a search time (what time of documents does the user want to search) are received from the search condition input means 4. The result of the search processing is passed to the search result output means 5.
The search condition input means 4 allows the user to specify search conditions such as:
Search keyword used in the search: and
Information on search base point,
and passes those conditions to the search means 3. The information on a search base point may include time information such as year/month/day or hour/minute or may include time trigger information such as a time related event.
As an example of the search condition input means 4, an entry box of a search keyword entered by a user from a web browser, may be utilized.
The search result output means 5 performs the function to receive the result of search processing performed by the search means 3 and to output the search result to the user as the search result. As an example of the search result output means 5, a software that outputs a list of search results on a user's web browser may be utilized.
The function and the processing of the index registration means 2, search means 3, search condition input means 4, and search result output means 5 may be implemented by control of programs executed on a computer.
The latest index 10 and the partitioned indexes 11-14 included in the past index storage unit 100 are indexes used for the search processing. The partitioning of these indexes is performed according to a partitioning trigger on a time series basis.
The latest index 10 is a partitioned index which includes the latest update.
The index registration means 2 executes indexing for a new document and an updated document and registers the index in the latest index 10.
Although the past partitioned indexes are configured by a total of four partitioned indexes in
The latest index 10 and the partitioned indexes 11-14 are saved in storage devices such as a memory or magnetic disk devices.
Those indexes are saved as
Ordinary file format; or
Records in a database.
The latest index 10 and the partitioned indexes 11-14 may be saved in different storage devices, one for each, or in the same storage device.
Relating the partitioned indexes,
the index registered one day before, “5/10”, is held in the partitioned index 11 that is neighbor on the right; and
the index registered two days before, “5/9”, should be held in the partitioned index 12.
In this way, the latest index in the past is held intact sequentially as one of partitioned indexes.
Therefore, the number of past indexes is increased over time.
When a predefined partitioning trigger occurs, the latest index (an object in which the index registration means 2 registers an index) is created newly.
The index (latest index 10) that has been the latest index becomes the second latest index that is one of the partitioned indexes.
This structure may also be implemented by changing the registration path to the registration target used by the index registration means 2.
The structure may also be implemented by copying the data in the latest index 10 to the past index storage unit 100, by creating a new partitioned index, and by clearing the latest index 10.
The latest index 10 and the partitioned indexes 11-17 may be stored anywhere physically or logically.
Next, the operation of the search processing, in this exemplary embodiment will be described in detail with reference to the flowchart in
First, a user enters a search condition via the search condition input means 4 (step S101 in
The following are entered as the search condition.
Ordinary search query information (search keyword, etc.); and
Date/time information used as the base point of the search processing (termed “base point information”) if necessary.
This base point information is information necessary when the search processing is performed based on a past viewpoint.
The search processing based on a past view point refers to a search performed based on the information, for example, three days ago when the user wants to get exactly the same result as that of the search processing performed three days ago.
Next, the search means 3 checks if the base point information is entered (step S102).
If the base point information is not entered (No in step S102), the search means 3 performs the search by reading all indexes (step S103).
The processing in step S103 will be described with reference to the example shown in
Assume that there are partitioned indexes 11-17. In this case, the search means 3 performs the search processing, by reading all indexes, from the latest index 10 to the partitioned index 17.
Note that, if the same document is updated, the index data on that document is stored in plural indexes; in this case, priority is given always to a newer index (in
In step S103, the search means 3 performs the search processing based on the index information that is read (step S104). The search means 3 notifies the search result output means 5 about the search result.
If control is passed to Yes in step S102 (if base point information is entered), the search means 3 performs the search by reading the indexes at or before the time specified by the base point information (step S105).
The operation in step S105 will be described with reference to the example in
Assume in this example that the base point information “5/8” is entered. In this case, because the search processing is performed based on the index corresponding to “5/8”, the search means 3 reads the indexes beginning with the partitioned index 12 corresponding to “5/8”.
That is, the search means 3 does not read the latest index 10 in which the latest update (information on or after “5/10”) is registered and the partitioned index 11 in which the information on “5/9” is registered, but reads all other indexes and performs the search processing.
Note that, when the same document is updated, the index on that document is stored in plural indexes; in this case, priority is given always to a newer index in the same way as in step S103 (in
The search processing performed in this way allows the user to search for desired data based on the index data at the time specified by the base point information.
As a modification of the exemplary embodiment of the present invention, it is also possible not to read all past partitioned indexes in the search processing in step S105 or S103.
For example, the indexes, from the latest index 10 to the partitioned index 14, are read, but the older partitioned indexes are not.
By doing so, the indexes from the latest index to the index, in which the update on “5/6” are stored, are used for the search, but the updated changes before that date are not.
How far in the past the partitioned indexes should be read is a tradeoff with the search performance.
How far in the past the partitioned indexes should be read may be decided, for example, by the following methods.
(A) Information on “Over how many days in the past should changed-files be searched” is entered from the search condition input means 4.
(B) The limit on the size of the indexes to be read by the search means 3 is decided in advance to prevent more partitioned indexes from being read.
One of the possible modes for the method in (B) is to decide the limit according to the cache memory size of the server that performs the search processing.
This modification, if used, could increase the search processing performance.
The reason is that one of the factors that determine the search processing performance is the capacity of the indexes that must be read.
Next, the preparations for the search processing in the first exemplary embodiment of the present invention will now be described.
To perform the search processing in this exemplary embodiment, the following two processing steps are required.
Indexing for the search target documents; and
Partitioning of the indexes.
Those processing operations will be described below.
First, the operation of index registration processing for the search target documents will be described with reference to the flowchart in
The index registration means 2 reads a document (search target document), which will be registered in the index, from the document storage means 1 (step S201 in
Next, the index registration means 2 performs the preparatory processing for registering the document in the index (step S202).
For example, in the inverted file method that is one of indexing methods, this preparatory processing includes the following processing.
Read a search target document, extract ext, and extract index words, which will be registered in the index, from the text.
Recognize the position of the index words and the number of occurrences.
The detail of the indexing method is described in the document cited as Non-Patent Document 1 and, so, the description is omitted here.
Finally, the index registration means 2 registers the information, which is produced by the preparatory processing for registering in the index, in the latest index 10 (step S203).
If the latest index 10 does not include information on the search target document, the index registration means 2 adds the information to the index.
If the latest index 10 includes information on the search target document, the index registration means 2 updates the index.
During ordinary search index creation, the index registration means 2 performs the index update processing including creation, updating, and deletion.
The creation and the update are performed as described above. For the deletion, the index registration means 2 performs the processing in which the index data on a deleted document is registered as a null in the latest index 10 without deleting the past partitioned index 11 and subsequent indexes.
Next, the operation of the index partitioning processing will be described with reference to the flowchart of
This index partitioning processing may be performed by the index registration means 2 or by separately providing means for managing the index.
First, It is checked whether or not the index partitioning trigger is satisfied (step S301 in
For example, the index partitioning trigger is as follows.
The time or the day of week is predetermined for regular index partitioning, and
An index is partitioned according to the size of the index.
When the index partitioning trigger is not satisfied, the index partitioning processing need not be performed and so no processing is performed in this processing flow.
When the index partitioning trigger is satisfied, the index that is the latest index 10 at the present moment is changed to one of the partitioned indexes (step S302).
This is accomplished in one of the following methods. For example,
Copy the latest index 10 to the past index storage unit 100 physically or logically.
Rename the latest index 10 so that it becomes a partitioned index.
Change the index of the registration target in which the index registration means 2 registers index data.
Finally, a new latest index 10 is created as a null (step S303).
From this time on, this latest index 10 is used as the index registration target of the index registration means 2.
Although the index partitioning processing may be performed according to the flowchart in
For example, in an installation where the index is partitioned at 0:00 every day, means is prepared separately for sending a notification requesting that the index partitioning processing be performed at 0:00 everyday and the notification is sent to the means responsible for performing the partitioning processing. The yesterday's latest index, which was used before 0:00, becomes the latest past partitioned index, and an index for one day is created and, from this time on, this new latest index 10 is used as the registration target of the index registration means 2.
A second exemplary embodiment of the present invention that will be described later is an example based on this structure.
Note that the index partitioning processing need not always be performed by the index registration means 2 but that some other means may also be prepared separately for performing index partitioning only. The user may select a method best suited for the installation.
The following describes the effect of the first exemplary embodiment of the present invention.
To perform the search processing included on a point of time in the past, it is necessary to hold all indexes in the past. In contrast, the indexes are held in the first exemplary embodiment by partitioning them on a time series basis to allow the indexes, which will be read, to be switched according to the entered base point information. So, the capacity of past indexes that must be held can be reduced.
By storing the past search results, the same effect can also be achieved by holding only the latest index, However, in this method, the search results based on a past view point can be returned only to the searches that were actually performed.
In contrast, in this exemplary embodiment, the search operation based on a past view point can be performed even if a search query was not made in the past.
In addition, the latest index 10, in which only the latest registered index data is stored, requires less capacity. That is, the latest index 10 stores only the latest registered index data as the difference. Similarly, with one past partitioned index used as the base, only the difference information is accumulated in a partitioned index that follows. This structure makes it possible to store the indexes in a high-speed storage device (semiconductor memory, etc.), thus increasing the speed of the index addition/update processing.
A (second) modification of the first exemplary embodiment of the present invention. In the second modification of the first exemplary embodiment of the present invention, the search result is analyzed on a time series basis.
The application of the first exemplary embodiment of the present invention gives the following functions.
To display a change in the search results of a search query on a time series basis; and
To display a change in the search ranking of a search query about the same document
The example in
The functions given above can be achieved by collecting the search results.
Although the partitioned indexes are partitioned in this exemplary embodiment according to the date or the like, for example, the date of index registration, on a time series basis, another configuration is also possible in which the partitioned indexes are partitioned based on the document attributes (for example, timestamp) referenced during index creation.
Next, a second exemplary embodiment of the present invention will be described in detail below with reference to the drawings. Referring to
Except those two means, the components are the same as those in the first exemplary embodiment and so the description is omitted here. The following describes the general operation of the backup means 6 and the partitioning trigger notification means 7.
The backup means 6 is means that creates and stores a backup of data (a spare copy of data) stored in the document storage means 1.
The backup means 6 is used to restore data, stored in the document storage means 1, to data at a particular point in time. An actual example is to regularly save a copy of whole data or updates in the storage device.
The function such as the one called a “snapshot” is considered one of the backup means 6 wherein the pointer information indicating the positions of data on a disk is recorded, instead of having a copy of actual data, to restore data stored in the document storage means 1 to a particular point in time.
In addition, one of the following data protection methods for accessing past data may be used as the backup means 6.
CDP(Continuous Data Protection) control software;
Database software; and
Journaling software
CDP is a data protection technique that, each time data is updated, saves the changed content on a basis of time series. This software tracks and captures data write on the storage and, when data is updated, stores the content of the update in secondary storage (change history database) as a journal.
This software allows the user to reproduce data in any point of the past (Any Point In Time (APIT) Recovery), avoiding data loss.
This function is equivalent to continuing an additional backup on a second basis.
A snapshot allows data to be restored only on the order of scores of minutes, while CDP allows data recovery points to be set on the level of seconds.
Because the whole actual data cannot be restored only from the data update history records, the whole volume is replicated at the start and the history of updates to this replication is recorded on a time series basis.
Available CDP types are as follows,
Block type;
File type; and
Application type;
In the block type, data changes are tracked on a block basis at the physical disk level or the logical volume level.
In the file type, data changes are tracked at a file level.
In the application type, the behavior of a particular application is recognized by the log information or via API to track data changes for each file update or for each event occurrence.
The tracking frequency is at least in units of seconds for the block unit, or at least once every file event update for the file type and the application type.
Changed contents are written in the secondary storage either synchronously or asynchronously.
“TimData™” (trademark) from TimeSpring is commercially available as the CDP software.
The partitioning trigger notification means 7 notifies the index registration means 2 of a part or all of the backup creation trigger time for which the backup means 6 holds a copy (or restorable point) of data copied from the document storage means 1.
The index registration means 2 partitions the index according to the notified partitioning trigger time.
More specifically, when the backup means 6 creates a backup once a day at 0:00, the partitioning trigger notification means 7 instructs the index registration means 2 to partition the index at 0:00 everyday.
The following describes, with reference to
First, the backup means 6 acquires a backup of data held in the document storage means 1 (step S401 in
In the specific exemplary embodiment, data at a backup time is read from the storage device of the document storage means 1 and is stored in the storage device of the backup means.
Next, the partitioning trigger notification means 7 notifies a trigger, with which the backup means 6 obtains the backup, to the index registration means 2 (means that performs the index partitioning processing) (step S402).
Finally, the index registration means 2 performs the index partitioning processing (step S403).
The index partitioning processing is performed in the same way as in the first exemplary embodiment described above.
The system in the second exemplary embodiment of the present invention allows the user not only to search for data based on a past base point in the same way as in the first exemplary embodiment described above but also to search the backup data.
The following describes the search processing operation in this exemplary embodiment with reference to the flowchart in
First, the user enters a search condition via the search condition input means 4 (step S501 in
As the search condition, the user specifies or selects the following,
Ordinary search query information (search keyword, etc.): and
Type of backup data to be searched (or backup creation time) if necessary
In case the backup operation is started at 0:00 everyday, the year/month/day information may he entered as the time information specified for the search condition.
In case the backup is created several times per month or week, backup event information (for example, before and after what number of times of backup in which month) may be specified as the past information. A range of time or a logical expression may also be specified as the search base point condition.
The search means 3, which performs the search processing, first checks if a backup data type is specified (step S502).
If backup data is not selected (No), the search means 3 reads all indexes and performs the search processing (step S503).
This processing is performed in the same way as in the first exemplary embodiment and so the description is omitted here.
The search means 3 completes the search processing based on the index information read in step S503 (step S505).
The search means 3 notifies the search result output means 5 of the search result.
If step S502 is Yes (backup data is specified), the search means 3 reads the index corresponding to the time at or before the time the specified backup data was created and performs the search processing (step S504).
The operation in step S504 will now be described with reference to the example in
In this case, the update that is made from the time the backup is created on “5/9” to the time the backup is created on “5/10” is reflected in the partitioned index 11.
Now, assume that the search processing is performed for the backup data created on 5/9. In this case, the search means 3 reads the partitioned index 12 and the older partitioned indexes to perform the search processing.
Although a system is assumed in the example above in which a full backup is created, the search processing may also be performed similarly for the difference backup data created on 5/9.
For example, in the example in
Note that, when the search means 3 performs the search processing, step S504) or when the search result output means 5 outputs the result (step S505), the path to the file (URI, file name, etc) of the search result must be rewritten.
This is because the path to a search target document, stored in the search index, is assumed to be stored in the document storage means 1.
Since the path to a search target document, which is recorded in the backup means, is based on the rule determined by the backup means, the backup means 6 notifies in advance the search means 3 or the search result output means 5 of the conversion rule.
In the configuration shown in
In a modification of the second exemplary embodiment of the present invention, the system can behave like the CDP software in such a way that a reference target of a file that is hit in a past index is changed to the backup target.
In addition, in the search processing (steps S503 and S504 in
In the second exemplary embodiment of the present invention, if the index of the same document is included in multiple partitioned indexes, priority is given to the latest of the partitioned indexes in the range, read by the search means 3, in steps S503 and S504 in
In a modification of the second exemplary embodiment of the present invention, the path (reference target) of a document that is hit in one of the partitioned indexes is changed to the corresponding storage target in the backup means 6.
Multiple indexes of the same document, if hit, are presented as the search result.
All the paths of a document that is hit in the partitioned indexes may be changed to the corresponding path stored in the backup. Instead, it is also possible that, if the document is the latest (that is, if the document is not included in an index later than the partitioned index in which the document is hit), the path is not changed but the path stored in the document storage means 1 is presented without conversion. If the document that is hit is included in the backup means 6, the path of the document is changed to the corresponding storage target in the backup means 6.
In the search system available today, the function to search backup data, created by the backup means, requires the creation of an index to the backup data.
In contrast, this exemplary embodiment can implement the search function to backup data only by an index to the document storage means 1 which is a major storage means.
This function eliminates the need for the index registration processing for backup data, thus reducing the storage capacity required for the index and the computer resources required for the calculation processing. By changing the reference target of a document, which is hit in a past partitioned index, to the location of the document stored in the backup means, the search system according to the present invention allows the past history to be accessed in the same way as in CDP. In addition, the ability to perform the search processing based on a past status allows a user to perform the search processing using, for example, a word that was present only at a point in time in the past.
Next, a third exemplary embodiment of the present invention will be described in detail with reference to the drawings. In the third exemplary embodiment of the present invention, past partitioned indexes are merged.
Referring to
The other part of the configuration is the same as that of the first exemplary embodiment and so the description is omitted here.
The third exemplary embodiment may also be implemented by adding the index management means 8 to the second exemplary embodiment shown in
The general operation of the index management means 8 will be described. The index management means 8 accesses one or more partitioned indexes to merge the partitioned indexes into one partitioned index.
For example, when the index is created using the inverted file method, merging multiple partitioned indexes means that multiple inverted files are converted into one inverted file by merging multiple pieces of index data on the same document into one latest index data.
Partitioned indexes are merged when one of the following conditions is satisfied.
when the number of partitioned indexes exceeds a predetermined number;
when the capacity of a partitioned index exceeds a predetermined capacity; and
when a partitioned index has been used longer than a predetermined period of time.
Merging partitioned indexes according to this exemplary embodiment increases the search processing performance.
The reason is that merging partitioned indexes reduces the index inefficiency caused by reading multiple pieces of index data on the same document.
The following describes a modification of the third exemplary embodiment of the present invention.
In order to solve the problem of the modification of the first exemplary embodiment in which a past file is not hit during the search, if reading of a past partitioned index is interrupted halfway, this modification provides means that performs the operation of an index that acts like the cache of the computer. In this modification, the index management means 8 performs the following function.
The index management means 8 reads the latest index and the partitioned indexes 11-15. extracts several documents included in the indexes, and creates a new partitioned index.
This partitioned index, winch is processed differently from ordinary partitioned indexes, is always read in the search processing, even if reading of a past partitioned index is stopped halfway.
The documents selected from the partitioned indexes are extracted according to a predetermined rule. For example, any of the following rules may be used.
Documents that are not updated for a fixed period of time but are frequently read by users are selected;
Documents specified by the user as important are selected; or
Documents that include specific keywords are selected.
The problem with the modification of the first exemplary embodiment is that a past file is sometimes not hit. In contrast, the modification of the third exemplary embodiment performs the processing described above to allow the documents, selected by the index management means 8, to be always hit during the search even if those documents are not updated.
If information impossible or difficult to be recalculated later is recorded as the information (attribute information) recorded in the index in the exemplary embodiments described above or in their modifications, the information search based on the characteristics of the documents at a point in time in the past can be performed in the environment in the past according to the attribute of the index. Examples of information that is recorded in the index but is impossible or difficult to be recalculated later are numeric data such as keyword frequencies used for the search result ranking, scores indicating the importance of documents, and so on. This type of information at a point in time in the past, if recorded, makes it possible to output the same ranking search result as that in the past search time during a information search that will be performed later.
In the present invention, if only information possible to be recalculated later is recorded in the index, the information search on the documents at a point in time in the past can be executed efficiently. Here, “efficient execution of information search” means a reduction in the capacity of storage for storing complete past indexes or in the computation quantity for regenerating, an index from the backup. An example of information possible to be recalculated later is information on the correspondence between a keyword and the documents in which the keyword occurs.
In case the above-described index information impossible to be recalculated (static score information) and the index information possible to be recalculated are stored in separate storage areas, the present invention may be applied by partitioning them on a time series basis. Although
The following describes the effects of the exemplary embodiments described above.
(A) The search processing can be performed based on a past base point. The reason is that, in the exemplary embodiments described above, the indexes are partitioned into a plurality of partitioned indexes which are recorded on a time series basis to allow the search processing to be performed using only the indexes older than a past base point.
(B) The index addition/update processing can be performed at a high speed while achieving the effect described above. The reason is that the index requires less storage capacity, because the index for which the addition or update processing is performed in the exemplary embodiments described above is a partitioned index in which only additions/updates for a fixed period of time are recorded. So, this structure allows the index to be stored in a high-speed storage device (semiconductor memory, etc.), thus making it possible to speed up index addition/update processing.
(C) Further, the increase in the index storage capacity can be suppressed and reduced. This is because, though the conventional search processing based on a point in time in the past requires all index content in the past, the indexes are partitioned into a plurality of partitioned indexes in the exemplary embodiments described above to allow the index to be changed based on the entered base point information.
(D) Furthermore, there is no need to create an index for the backup data. The reason is that, in the exemplary embodiments described above, the index partitioning trigger time and the backup creation trigger time are set equal and the reference target of the search result is changed to the backup data to eliminate the need for preparing an index separately for searching the backup data. This method eliminates the need for the index registration processing to be performed for the backup data, thereby reducing the storage capacity of the backup device necessary for the indexing processing and the computer resources of the backup device necessary for the calculation processing.
The present invention is applicable to the information search system such as:
information search system on World Wide Web; and
Information in an organization (information stored on an Intranet web and information in an information system, database, and storage in an organization).
That is, the present invention may of course be applied in such a way that a search engine comprises the information search system in the exemplary embodiments described above.
The present invention is applicable also to an information processing system that has intermediate data for analysis.
The present invention is applicable also to a search system used for searching backup or archive data. For example, a mining device, which performs data mining processing or text mining processing, may comprise the information search system of the present invention according to claim 1 and so on. Alternatively, a portable communication terminal (mobile phone) may comprise the information search system of the present invention according to claim 1 and so on; a medium playback device that plays back music(sound)/image(video) may comprise the information search system of the present invention according to claim 1 and so on; a device that manages a list of names may comprise the information search system of the present invention according to claim 1 and so on; a karaoke device may comprise the information search system of the present invention according to claim 1 and so on. If configured to allow information to be searched for based on the attribute information at a point in time in the past according to the index attribute, those devices enable the user to reach the same information in the same way as in the past if the search operation is performed in the same way as in the past.
While the present invention has been described with reference to the exemplary embodiments above, it is to be understood that the present invention is not limited to the configuration of the exemplary embodiments above and that modifications and changes that may be made by those skilled in the art within the scope of the present invention are included.
Number | Date | Country | Kind |
---|---|---|---|
2006-275169 | Oct 2006 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2007/069272 | 10/2/2007 | WO | 00 | 3/27/2009 |