Information searching apparatus, information managing apparatus, information searching method, information managing method, and computer product
Abstract
A computer-readable recording medium stores therein an information searching program that causes a computer having access to archives including a compressed file group of compressed files that are to be searched and that have described therein character strings, to execute: sorting the compressed files in descending order of access frequency of the compressed files; combining the compressed files in descending order of access frequency after the sorting at the sorting such that a storage capacity of a cache area for a storage area that stores therein the compressed file group is not exceeded by a combined size of the compressed files combined; and writing, from the storage area into the cache area, the compressed files combined at the combining, the compressed files combined being written prior to a search of the compressed files combined.
Claims
exact text as granted — not AI-modified1 . A computer-readable recording medium storing therein an information searching program that causes a computer having access to archives including a compressed file group of compressed files that are to be searched and that have described therein character strings, to execute:
sorting the compressed files in descending order of access frequency of the compressed files; combining the compressed files in descending order of access frequency after the sorting at the sorting such that a storage capacity of a cache area for a storage area that stores therein the compressed file group is not exceeded by a combined size of the compressed files combined; and writing, from the storage area into the cache area, the compressed files combined at the combining, the compressed files combined being written prior to a search of the compressed files combined.
2 . The computer-readable recording medium according to claim 1 , wherein
combining includes combining the compressed files in descending order of access frequency after the sorting at the sorting, such that the combined size of the compressed files is of a greatest value that does not exceed the storage capacity of the cache area, and the writing includes writing from the storage area into the cache area, the compressed files whose combined size is the greatest value, the writing being performed prior to the search of the compressed files combined.
3 . The computer-readable recording medium according to claim 1 , wherein the information searching program further causes the computer to execute:
setting a resident flag for the compressed files written in the cache area at the writing; receiving input of a search character string; identifying a compressed file that includes all the characters included the search character string received at the receiving, by referencing a character appearance map indicating a presence or absence of characters in each compressed file; reading the compressed file identified at the identifying, from an area according to the resident flag set at the setting; expanding, into a file to be searched, the compressed file read at the reading; and outputting the file to be searched expanded at the expanding.
4 . The computer-readable recording medium according to claim 3 , wherein
the information searching program further causes the computer to execute searching for a character string that coincides with or is related to the search character string from the file that is to be searched expanded at the expanding, and the outputting includes outputting a search result obtained at the searching.
5 . The computer-readable recording medium according to claim 3 , wherein
the information searching program further causes the computer to execute updating the access frequency of the compressed file when the compressed file is expanded at the expanding, and the sorting includes sorting the compressed files in order of descending access frequency of the compressed files based on an access frequency after updating at the updating.
6 . The computer-readable recording medium according to claim 4 , wherein
the information searching program further causes the computer to execute updating, when a file to be searched is retrieved at the searching, updates the access frequency of a compressed file formed by compressing the file to be searched, and the sorting includes sorting the compressed files in descending order of access frequency of the compressed files based on an access frequency after the updating at the updating.
7 . An information searching apparatus having access to archives including a compressed file group of compressed files that are to be searched and that have described therein character strings, the information searching apparatus comprising:
a sorting unit that sorts the compressed files in descending order of access frequency of the compressed files; a combining unit that combines the compressed files in descending order of access frequency after the sorting by the sorting unit such that a storage capacity of a cache area for a storage area that stores therein the compressed file group is not exceeded by a combined size of the compressed files combined; and a writing unit that writes, from the storage area into the cache area, the compressed files combined by the combining unit, the writing unit writing the compressed files combined prior to a search of the compressed files combined.Join the waitlist — get patent alerts
Track US2012005172A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.