It seems that the lucene search index is not updated when a user edits an existing page or creates a new page. In both cases, the page is not found when someone searches for it.
Search works as expected when:
- Tomcat is stopped
- The files in the lucene directory are removed
- Tomcat is started
- Wait until the Lucene Indexer thread finishes reindexing
The following exception occurs when a page is edited (full stack trace attached):