Hi,
I've just tested this on both Jetty and Tomcat and it worked fine. I
only changed the xwiki.cfg by adding:
xwiki.plugins.lucene.indexdir=/tmp/lucene
So maybe the problem is that you're on windows. Maybe the directory
doesn't exist and fails to be created for some reason. What do the
tomcat and xwiki logs say?
Thanks
-vVncent
On Jun 11, 2008, at 6:40 AM, lidan wrote:
I installed XWiki 1.4.1 with tomcat and mysql. I followed
http://code.xwiki.org/xwiki/bin/view/Plugins/LucenePlugin
to change the index directory. For example,
xwiki.plugins.lucene.indexdir=D:/lucene . I changee the dir, saved
xwiki.cfg and restarted xwiki. But the index still in the tomcat/
work/lucene. Then I tried first deleted the existing index folder
and files in tomcat/work. Restarted again, XWiki created new lucene
folder and index files in tomcat/work.
I tried several different dirs, but all the results were same.
Anyone could tell me why, am I missing something?