first slow second fast when searching. why?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   tyro_li
Posted On:   Monday, November 21, 2005 10:17 PM

i set up a website using lucene.Three indexes, each is about 400M, searched by MuliSearcher
no singleton is used.
It is stranage that fist search will usually using a long time, and the second search is very fast. The siutation is same when searching differnt word in the second search.

why?

Re: first slow second fast when searching. why?

Posted By:   ankush_purwar  
Posted On:   Tuesday, November 22, 2005 03:43 AM

It might be possible that at first time underlying device may be caching the data.So second time it wouldn't take more time.
About | Sitemap | Contact