[ic] Modifying the "more" paging system

Ron Phipps rphipps at reliant-solutions.com
Fri Feb 11 21:02:34 EST 2005


Hello,

The goal of this modification is to present links to both the user and
search engine where they can easily come back to a spot in a search
without using cached search results and it will clean up the URL
(removes the SCAN=xxxxxxxxxxxxxxxxxxxxxxxxxxxx).  This is useful with
the results after page 1.

I'm going to do something similar to the ActionMap outlined here:

http://www.icdevgroup.org/pipermail/interchange-users/2002-September/026
698.html

On my results page I use the query tag to bring up a list of products
specific to a category.  My plan is to pass a value through the
ActionMap to the fm (mv_first_match) parameter of the query to display
the correct "page" of results.

I noticed that I will need to build my own [more] type tag to handle
displaying the correct page links so that they will go through the
ActionMap as well.

Does anyone see any drawbacks to this method?  Any gotchas to watch out
for? I will be bypassing the search cache, so for each page there will
be a new hit to the database, but I don't see anyway around this.  Would
I get better performance if I did not use the "fm" parameter and instead
passed values to a LIMIT statement in the query?

Thanks for your input!
-Ron



More information about the interchange-users mailing list