[ https://issues.apache.org/jira/browse/JSPWIKI-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205823#comment-17205823 ]
Juan Pablo Santos RodrÃguez commented on JSPWIKI-1131: ------------------------------------------------------ Hi [~uo5waiBil9], thanks for your patience and your time testing. I've proceeded with the actions noted on a fresh 2.11.0-M8-git-01 installation, and the search is behaving as expected, that is, founds all pages for a given a term. I'm unsure of what may be happening as I can't reproduce the issue. As the version of Lucene has changed between 2.11.0.M7 and 2.11.0-M8-git-01, would you mind repeating the testing but removing the lucene index files first (they should be under "${jspwiki.workDir}/lucene")? I'm also thinking about emptying $TOMCAT_HOME/work/.../JSPWiki files too, to discard older precompiled classes interfering best regards, > Lucene Index not updated on edits/new page > ------------------------------------------ > > Key: JSPWIKI-1131 > URL: https://issues.apache.org/jira/browse/JSPWIKI-1131 > Project: JSPWiki > Issue Type: Bug > Components: Search > Affects Versions: 2.11.0-M7 > Environment: * Debian 10 > * Tomcat 9: 9.0.31-1~deb10u2 > * OpenJDK-JRE 11: 11.0.7+10-3~deb10u1 > * JSPWiki 2.11.0-M7 > Reporter: FP > Priority: Critical > Attachments: exception.txt > > > 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): > {{java.io.NotSerializableException: org.apache.wiki.WikiContext}} -- This message was sent by Atlassian Jira (v8.3.4#803005)