Bug #129
closedMetacat Performance: paged Query Returns
0%
Description
If a query returns more than n results, then only n results should be shown to
the user at a time. This functionality is similar to a commercial search engine
that only shows the user "results 1-25" then you click a "next 25" button to get
to the next page of results.
Related issues
Updated by Matt Jones over 24 years ago
- Bug 147 has been marked as a duplicate of this bug. ***
Updated by Matt Jones over 23 years ago
Changed milestone for several bugs. Some of these we should consider marking
INVALID or WONTFIX.
Updated by Matt Jones almost 23 years ago
Moved issues that we do not intend to address during the current release to the
'Postpone' milestone.
Updated by Saurabh Garg over 19 years ago
- Bug 2156 has been marked as a duplicate of this bug. ***
Updated by Saurabh Garg over 19 years ago
Comment from bug# 2156:
Comparing Metacat with other search engines, there is a major
difference in the metacat web interface when compared to others. We
dont divide the result into blocks. So any online search will show x
number of results at a time. Metacat on the other hand shows all
results in one go. I am not sure how to fix this yet but I think we
will improve on time in three ways: database processing time, network
time and rendering of data in the browser. KNB currently has 1600
documents+ and a % search sends back a webpage which is 1.45 MB in
size. Hence even if we think of broadband, that is a lot of data being
sent back. Same goes for rendering of 1600 documents as compared to
10/20 documents. I am not sure though how hard this will be to implement
Updated by Saurabh Garg over 18 years ago
The query will probably to be stored on per session basis. Maybe the docids found can be stored in a ordered data structure in the session for each of the clients..
But there has to be a query id also as there might be multiple queries coming in from a client.. hence there might be multiple datasets to store. Hence all the skins and morpho when using paged query returns will have to be modified to include the query id assigned by metacat in there request of next set of results.
Updated by Matt Jones almost 18 years ago
See http://www.devx.com/Java/Article/21383/1954?pf=true for an excellent discussion of strategies for query paging using JDBC.
Updated by Chad Berkley over 17 years ago
Metacat now does paged query returns. It also caches the last query with the user's session so that it does not need to re-run the entire query to re-display results. The cache can easily be cleared by running a different query then running the original query if you want to make sure you have the newest results. This works for public and authenticated sessions. I'll leave this bug open for now in case there are any problems that crop up with this solution later.
Updated by ben leinfelder over 11 years ago
- Status changed from In Progress to Closed
Now using SOLR as the search mechanism which absolutely supports paged results.