How to Cache Lucene Search Result Pages?
Hi,
If we cache the search result
pages, mind you we cache the search result pages and NOT the individual
results (in this case the uploaded note files).
When I do that then we can link the Back To Search button to the cached
result pages folder in a way..that everytime user clicks on the Back To
Search button he/she'll be redirected to the last result page that was
cached when the user performed a search irrespective of the fact that
he/she is logged in or NOT.
That there'll be two advantages as I see -
1.Possibly the present issue will be resolved for good
2.It'll be lightning fast and reduce server load considerably, ofcourse as
you will understand is probably the greatest advantage of caching.
Will you please letme know how to write a caching system for Lucene..so that I can cache the search result pages every time an user performs a search and clear cache every couple of hours?
Regards.
Jeff