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

Search not working on unmodified files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.11.1
    • 2.11.3
    • Search
    • None

    Description

      Lots of pages aren't turning up in search.

      We cleared the lucene folder from the working directory, and it rebuilt it - but quite quickly for 13,000 pages.  And the total size of the Lucene files was around 2.5MB, which seemed far too small.

      Doing a search failed to bring back pages that had the given word in their name and content.

      Editing one of those pages (adding a space) caused it to then appear in the searches.

      Checking the logs I found a lot of errors in the form:

      [ERROR] 2022-04-12 15:50:17.274 [main] o.a.w.r.DefaultReferenceManager - Error while trying to fetch a page name; trying to cope with the situation.
       org.apache.wiki.api.exceptions.ProviderException: Illegal page name

      (See attachment for whole exception trace)

      Sadly, it doesn't tell me what the illegal page names are.

      This wiki has been upgraded from version 2.8 - are there compatibility issues with page names there?

      Attachments

        1. JSPWikiException.txt
          5 kB
          Andrew Ducker

        Activity

          People

            Unassigned Unassigned
            andrewducker Andrew Ducker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: