Yes, they should be. Again, since Lucene has its own update queue, which is not run immediately, it may take a few seconds for the results to update.

/Janne

On Dec 6, 2009, at 23:19 , Maduranga Kannangara wrote:

When you do changes to a certain page, directly from file system, does the Lucene indexes get updated?
i.e.: Does search results change, reflecting new changes?

Thanks
Madu

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Saturday, 5 December 2009 4:02 AM
To: [email protected]
Subject: Re: Can you update a JSPWiki page from outside the JSPWiki application?

Carlson, Eric R wrote:
Is it possible to update a page within JSPWiki from an application outside of JSPWiki and have the new, modified page show up for
JSPWiki users?

Yes. I do it all the time.

Just create the page content with the wiki source syntax (or good old html if your wiki has html enabled). Copy the page into the
wiki content dir.

You can modify an existing page or create new pages this way. If you create a new page, be sure the file name starts with an upper case letter and ends with ".txt". this is required because of a flaw in the wiki.

The wiki recognizes the changes immediately.

You may want to make it clear in the source code comments and the page content that the page is automatically generated from an external source. Your colleagues may become annoyed if their changes disappear. :)

Regards,
-Frank

Reply via email to