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?