Ben Thompson wrote:
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
You can also use the ReindexPlugin, see the CeryleWikiPlugins at
http://purl.org/ceryle/wiki/Wiki.jsp?page=CeryleWikiPlugins
http://purl.org/ceryle/wiki/Wiki.jsp?page=ReindexPlugin
This currently has the disadvantage of being available to anyone
from a wiki page, but could be altered to only be performed by
a specific user or group.
Murray
...........................................................................
Murray Altheim <murray09 at altheim dot com> === = =
http://www.altheim.com/murray/ = = ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = =
Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record