[ https://issues.apache.org/jira/browse/JSPWIKI-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209067#comment-17209067 ]
Juan Pablo Santos RodrÃguez commented on JSPWIKI-1131: ------------------------------------------------------ Hi [~uo5waiBil9], been trying to reproduce the error this weekend, without success. As per your log entries, it seems that the page reindex gets done, so I'm thinking that you're issue may be related to the page manager; As soon as the search is performed, we check if the user requesting the search has enough permissions to see the page. That may be triggering the {{org.apache.wiki.api.exceptions.ProviderException: Illegal page name}} exception, so if you could share the associated stack trace may be it could help to see if it's related or not to this issue. Also, to double check that the reindex is behaving properly, would you mind inspecting the Lucene's index files with [Luke|https://medium.com/@mocobeta/luke-become-an-apache-lucene-module-as-of-lucene-8-1-7d139c998b2] after saving a page? The query should look like something similar to {{content:your_term}}, f.ex., {{content:staple}} Last, as for the {{JSPWikiMarkupParser}} log message, it can safely be discarded wrt this issue, some of your pages seem to reference the BubbleChartPlugin, which hasn't been installed on the development instance 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)