Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1131

Lucene Index not updated on edits/new page

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.11.0-M7
    • Fix Version/s: 2.11.0-M8
    • Component/s: Search
    • Labels:
      None
    • Environment:
      • Debian 10
      • Tomcat 9: 9.0.31-1~deb10u2
      • OpenJDK-JRE 11: 11.0.7+10-3~deb10u1
      • JSPWiki 2.11.0-M7

      Description

      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

        Attachments

        1. illegal-page-name.txt
          10 kB
          FP
        2. exception.txt
          7 kB
          FP

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              uo5waiBil9 FP
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: