Hi,
After upgrading XWiki from 13.x to 17.x, comments and attachments are not displayed in UI, but the data exists in the database.
What I checked:
-
DB has data (~3000 docs, comments objects exist)
-
XWiki starts fine (Tomcat 10, Java 21)
-
Solr is installed and running
What I tried:
-
Reindex from UI
-
Deleting Solr index and rebuilding
-
Enabling
solr.synchronizeAtStartup=true -
Restarting multiple times
Current state:
- Solr indexing runs but logs show:
0 documents added, 0 updated
2026-06-09 16:42:13,324 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@5c639ad7([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with identifier [[solr, indexer]]
2026-06-09 16:42:15,168 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@5c639ad7([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - 0 documents added, 0 deleted and 0 updated during the synchronization of the Solr index.
2026-06-09 16:42:16,209 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@5c639ad7([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with identifier [[solr, indexer]]
- UI still shows empty comments/attachments
Any idea why XWiki skips all documents during indexing?

