[Jamwiki-commit] SF.net SVN: jamwiki:[2840] wiki/trunk/jamwiki-web/src/main/java/org/jamwiki /sear
Brought to you by:
wrh2
From: <wr...@us...> - 2010-01-15 19:18:37
|
Revision: 2840 http://jamwiki.svn.sourceforge.net/jamwiki/?rev=2840&view=rev Author: wrh2 Date: 2010-01-15 19:18:31 +0000 (Fri, 15 Jan 2010) Log Message: ----------- Performance: * Cache the search engine IndexWriter for re-use. In local testing this gives a slight (but noticeable) performance boost when updating the index and removes the need for synchronizing the retrieveIndexWriter() method. Note that further testing is required to ensure that this doesn't have unforeseen side-effects. Modified Paths: -------------- wiki/trunk/jamwiki-web/src/main/java/org/jamwiki/search/LuceneSearchEngine.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |