Hi Richard,

I don't think this is a CSP or a 6.1.6 change, but I could be wrong.

To get to the bottom of it:

1. Turn on search debug logging: in the deployed WAR, edit
WEB-INF/classes/log4j2.xml and add this inside <Loggers>:

<Logger name="org.apache.roller.weblogger.business.search" level="debug"
additivity="false"><AppenderRef ref="asyncRoller"/></Logger>

Restart, then watch logs/roller.log. You'll see lines like "index dir:
<path>", "search enabled: true", "Rebuilding index in the background...",
or "Failed to open search index...".

2. Confirm the resolved "index dir:" path from that log is what you expect
(property expansion can surprise you), that it's writable by the Tomcat
user, and that Lucene segment files appear in it after a rebuild.

3. Force a clean rebuild: stop Roller, delete the contents of the
search-index directory, start Roller -- it rebuilds automatically from
published entries.

4. Sanity checks: the entries are published (drafts aren't indexed), you're
searching the weblog that owns them (the index is per-weblog), and try a
single common word first -- the parser ANDs multiple terms together.

If it still returns nothing after that, send me the search-related lines
from roller.log and I'll dig in.

Dave

On Tue, Sep 08, 2026 11:42 AM, Richard via user <[email protected]>
wrote:

> Hi Dave --
>
> Thanks for your response on the missing icons.  Another issue I'm
> seeing on 6.1.6 RC1 is the full text search feature is consistently
> returning zero results.  I've done the obvious things like try the
> "Rebuild Search Index" button in the Weblog Maintenance page and even
> changed the mediafiles.storage.dir and search.index.dir directories in
> roller-custom.properties.  Could this be related to the CSP changes?
> If not, could you suggest some troubleshooting tips here (like ways to
> enable debug logging for search, etc.)?
>
> Thanks!
> Richard
>
>
> [PR] Fix blank Font Awesome icons in preset themes (CSP font-src) and
> document H2 VALUE workaround [roller]
>
> snoopdave opened a new pull request, #183:
> URL: https://github.com/apache/roller/pull/183
>

Reply via email to