Hi all,
Tian-Jian "Barabbas" Jiang@Gmail wrote:
It's a very simple heuristic and proved to be fast enough on single P4 2GHz machine with 2GB RAM, which served for a 3GB Lucene index file. Results returned within 1 sec, in average.
BTW, in case you are not satisfied with 1 sec, here's some reasonable room to improve:
1. My environment is, actually, lame. It is a Windows 2003 box without the benefit of inode-alike file system for Lucene's index file format. The worse thing is, due to the lack of storage space, some secondary index files may be located on separated machines via SLOW Windows Network Disks.
2. There's no either pagination nor cache in my system.
I bet anyone who has a FreeBSD 6.1 server with nice pagination will get much better performance than me. ;-)
Regards, /Mike/
wikitech-l@lists.wikimedia.org