Details
-
Task
-
Resolution: Unresolved
-
Major
-
None
-
18.9.0-rc-1
-
None
-
Unknown
-
Description
Solr (from 9.11.0): https://solr.apache.org/docs/10_0_0/changes/Changes.html
Lucene (from 9.12.3): https://lucene.apache.org/core/10_3_2/changes/Changes.html
Things to take into account:
- Lucene 10 cannot open an index created with Lucene 8, so a Solr core created by an XWiki version based on Solr 8 cannot be migrated directly (see
XWIKI-25423). - SolrJ moved its Jetty based HTTP client to the new solr-solrj-jetty module, which uses Jetty 12 (SolrJ 9 uses Jetty 10). This is what blocks XWIKI-24337.
- Solr 10 and Lucene 10 require Java 21.
- Lucene 10 should remove the Lucene warning displayed on Java 23 or later (see XWIKI-25453).
- The Docker based functional tests only support a remote Solr 9 for now (SolrContainerExecutor).
- The solr:10 Docker image starts in SolrCloud mode by default, while XWiki relies on the standalone mode (now called "user-managed", --user-managed) for remote Solr. Also, Solr 10 refuses to start with the solr.xml of a Solr 8 home.
- With the embedded Solr, CoreContainer#getCore throws an exception for a core which failed to be loaded (instead of returning null), which EmbeddedSolr#getCore will have to handle to detect a Solr 8 core which cannot be migrated anymore (see
XWIKI-25423, which handles it for remote Solr).
Attachments
Issue Links
- blocks
-
XCOMMONS-2107 Move to jakarta packages
-
- Open
-
-
XWIKI-21950 Upgrade to Jersey 3
-
- Open
-
-
XWIKI-24337 Upgrade to Jetty Client 12+
-
- Open
-
- depends on
-
XWIKI-21950 Upgrade to Jersey 3
-
- Open
-
- relates to
-
XWIKI-25453 Lucene vectorization warning when starting XWiki on Java 21 or later
-
- Open
-
-
XWIKI-21954 Upgrade to Solr 9.11.0 and Lucene 9.12.3
-
- Open
-
-
XWIKI-25423 Refuse to migrate a Solr core created with a Solr major version older than the previous one, and indicate the intermediate XWiki version to upgrade to first
-
- Closed
-