You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Andrew Ducker (Jira)" <ji...@apache.org> on 2022/04/13 07:47:00 UTC

[jira] [Created] (JSPWIKI-1171) Search not working on unmodified files

Andrew Ducker created JSPWIKI-1171:
--------------------------------------

             Summary: Search not working on unmodified files
                 Key: JSPWIKI-1171
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1171
             Project: JSPWiki
          Issue Type: Bug
          Components: Search
    Affects Versions: 2.11.1
            Reporter: Andrew Ducker
         Attachments: JSPWikiException.txt

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?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)