[xwiki/xwiki-platform] 83b0c5: XWIKI-24595: DefaultSolrIndexer sends an empty add...
Branch: refs/heads/stable-18.4.x Home: https://github.com/xwiki/xwiki-platform Commit: 83b0c5334ce01108eca6379b7169499fc63e9735 https://github.com/xwiki/xwiki-platform/commit/83b0c5334ce01108eca6379b71694... Author: Vincent Massol <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 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 (#6033) * 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]> (cherry picked from commit eef1e58456ebbc241afa0ed2ca6c0bac0096a2cd) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications