On Jun 12, 2008, at 1:32 PM, LiDan wrote: > > Hi > What I found is that it usually created index files in > xwiki.work.dir/lucene. When I changed xwiki.work.dir in xwiki.cfg, > the index > dir changed. The same on windows and linux.
That's normal and correct behavior. Now the lucene index dir overrides this. Thanks -Vincent > vmassol wrote: >> >> 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? _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users