Selective fetching of search results
AssigneeInternational Business Machines Corporation
InventorsHarry L. Hoots III, III, Timothy W. Owings
Life of this patent
Estimating the term…
Abstract
A method, program product and system for selectively fetching search results data. Once a search query has been received and executed in a database, the total count of search results are divided into pages. A computer fetches a determined number of pages of search results data and stores the search results data in a repository. The computer displays one page of fetched search results data and links to other pages of search results data to the user through the interface. If the user selects a page of search results data to display which was not already fetched, the computer fetches the non-fetched search results data and marks the fetched search results data. The marked data may be discarded or cached through memory virtualization.
Claims17
A method for selectively fetching search results data comprising the steps of:
- a computer receiving a search query from a user through an interface and storing the search query in a repository;
- the computer performing a search in a database and receiving a total count of the search results data that matches the query;
- the computer dividing the total count of the search results data that matches the query into a total number of search results pages representative of the total count of the search results;
- the computer determining how many of the total number of search results pages of search results data to fetch;
- the computer fetching search results data for the determined number of pages from the total number of search results pages and storing the determined number of pages in the repository;
- the computer displaying one page of fetched search results data and links to other pages of search results data to the user through the interface;
- accepting an action from the user selecting a page of search results data to display from the links to other pages of search results data through the interface;
- if the action selects a page of search results data which was not fetched, the computer fetching at least one page of non-fetched search results data and storing the search results data in the repository and marking the search results data of the page of the fetched search results data;
- and
- repeating the method from the step of the computer displaying one page of fetched search results data and links to other pages of search results data to the user through the interface.
A computer program product for selectively fetching search results, the computer program product comprising:
- a computer readable storage device storing a plurality of computer readable program instructions to:
- receive a search query from a user through an interface and store the search query in a repository;
- perform a search in a database and receive a total count of the search results data that matches the query;
- divide the total count of the search results data that matches the query into a total number of search results pages representative of the total count of the search results;
- determine how many of the total number of search results pages of search results data to fetch;
- fetch search results data for the determined number of pages from the total number of search results pages and store the search results data for the determined number of pages in the repository;
- display one page of fetched search results data and links to other pages of search results data to the user through the interface;
- accept an action from the user selecting a page of search results data to display from the links to other pages of search results data to the user through the interface;
- if the action selects a page of search results data which was not fetched, fetching at least one page of non-fetched search results data and store in the repository and mark the search results data of the page of fetched search results data;
- and
- repeating from the program instructions, to display the at least one page of fetched search results data and links to pages of search results data to the user through the interface.
A computer system for selectively fetching search results, the computer system comprising:
- one or more processors, one or more computer-readable memories and one or more computer-readable, storage devices;
- program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to receive a search query from a user through an interface and store the search query in a repository;
- program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to perform a search in a database and receive a total count of the search results data that matches the query;
- program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to divide the total count of the search results data into matches the query into a total number of search results pages representative of the total count of the search results;
- program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to determine how many of the total number of search results pages of search results data to fetch;
- program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to fetch search results data for the determined number of pages from the total number of search results pages and store the search results data for the determined number of pages in the repository;
- program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to display one page of fetched search results data and links to other pages of search results data to the user through the interface;
- program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to accept an action from the user selecting a page of search results data to display the links to other pages of search results data to the user through the interface;
- if the action selects a page of search results data which was not fetched, program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to fetch at least one page of non-fetched search results data and store in the repository and mark the search results data of the page of fetched search results data;
- and
- repeating from the program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to display the at least one page of fetched search results data and links to pages of search results data to the user through the interface.
Dependencies are inferred from the claim text.