Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Cache Lucene Search Result Pages?

843810Nov 24 2007
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 22 2007
Added on Nov 24 2007
0 comments
137 views