the easiest way is to completely empty the work directory, both the lucene index and the refmanager files will be recreated on startup (which will take a bit longer). make sure it is writable for the wiki the log should indicate that these things get recreated, and the index page should also work.
Harry 2009/4/22 Ben Thompson <[email protected]> > Question for the group. > > We have JSPWiki v2.8.1 running under tomcat on the mainframe. For DR > purposes I have setup a copy of JSPWiki running under GLASSFISH on a > windows machine and have replicated the pages from the mainframe. The > new wiki works correctly and can see all the copied pages, however none > these can be searched or have an entry in the index page. If I edit the > a page the contents are added to search and the index page. > > > > I have found several entries in JSPWiki.org which say all I need to do > is to modify the repository outside JSPWiki, and to force a reindex is > to delete $workdir/lucene. I have tried this and is does not seem to > work. > > > > Any other solutions or should I just copy the lucene index every time I > replicate the wiki > > > > Thanks > > > > Benjamin Thompson > Systems Programmer > Data Centre Services > Northern Territory Government > ph (08) 89997693 > > > >
