[xwiki/xwiki-platform] 06a1a6: XWIKI-24595: DefaultSolrIndexer sends an empty add...
Branch: refs/heads/XWIKI-24595 Home: https://github.com/xwiki/xwiki-platform Commit: 06a1a696acfa2bdd3eb7e2c24f55756f6697885c https://github.com/xwiki/xwiki-platform/commit/06a1a696acfa2bdd3eb7e2c24f557... Author: Vincent Massol <[email protected]> Date: 2026-07-30 (Thu, 30 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/pom.xml M xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/AbstractSolrInstance.java M xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/DefaultSolrIndexer.java A xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/internal/SolrClientInstanceTest.java Log Message: ----------- XWIKI-24595: DefaultSolrIndexer sends an empty add request to a remote Solr, causing a "missing content stream" error * Skip the Solr update request when the document batch to flush is empty * Also guard the SolrInstance add() API against an empty document list * Added unit tests for SolrClientInstance and raised the module coverage ratio Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications