You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2026/09/21 11:27:24 UTC

(pekko-connectors) branch main updated: Solr: fix broken links to the Solr 9.10 reference guide and javadoc (#1946)

This is an automated email from the ASF dual-hosted git repository.

pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 0ab554702 Solr: fix broken links to the Solr 9.10 reference guide and javadoc (#1946)
0ab554702 is described below

commit 0ab55470221ccaf823397f206110c23ee0271bce
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Mon Sep 21 12:27:18 2026 +0100

    Solr: fix broken links to the Solr 9.10 reference guide and javadoc (#1946)
    
    * Solr: fix broken links to the Solr 9.10 reference guide and javadoc
    
    Motivation:
    The Solr links in the docs return 404. Solr moved its reference guide
    to an Antora layout under guide/solr/<version>/ and split the SolrJ
    javadoc into per-module directories (solrj/, solrj-streaming/).
    
    Modification:
    Point extref.solr.base_url at guide/solr/9_10/ and update the commits
    link to configuration-guide/commits-transaction-logs.html, where the
    UpdateHandler content now lives. Derive the javadoc base URL from
    SolrjVersion, point it at the solrj/ module and add a dedicated base
    URL for org.apache.solr.client.solrj.io.stream pointing at
    solrj-streaming/. Use direct link style: the Solr javadoc index no
    longer redirects the frames-style ?path query to the class page.
    
    Result:
    All Solr links on the Solr connector page resolve.
    
    Tests:
    - sbt docs/paradox; every solr.apache.org URL in the generated
      solr.html returns 200 and points at the class or section page.
    
    References:
    None - link checker reported 404s on docs/pekko-connectors/snapshot/solr.html
    
    * temp enable link validator
    
    * Revert "temp enable link validator"
    
    This reverts commit 23c71f4281782188e86acf0a38cb6c5d9d6d8ebe.
---
 build.sbt                     | 8 ++++++--
 docs/src/main/paradox/solr.md | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/build.sbt b/build.sbt
index da1c1c285..be2228d2c 100644
--- a/build.sbt
+++ b/build.sbt
@@ -465,9 +465,13 @@ lazy val docs = project
       "javadoc.com.datastax.oss.base_url" ->
       s"https://docs.datastax.com/en/drivers/java/${Dependencies.CassandraDriverVersionInDocs}/",
       // Solr
-      "extref.solr.base_url" -> s"https://solr.apache.org/guide/${Dependencies.SolrVersionForDocs}/%s",
+      "extref.solr.base_url" -> s"https://solr.apache.org/guide/solr/${Dependencies.SolrVersionForDocs}/%s",
       "javadoc.org.apache.solr.base_url" ->
-      s"https://solr.apache.org/docs/${Dependencies.SolrVersionForDocs}_0/solr-solrj/",
+      s"https://solr.apache.org/docs/${Dependencies.SolrjVersion.replace('.', '_')}/solrj/",
+      "javadoc.org.apache.solr.link_style" -> "direct",
+      "javadoc.org.apache.solr.client.solrj.io.stream.base_url" ->
+      s"https://solr.apache.org/docs/${Dependencies.SolrjVersion.replace('.', '_')}/solrj-streaming/",
+      "javadoc.org.apache.solr.client.solrj.io.stream.link_style" -> "direct",
       // Java
       "javadoc.base_url" -> "https://docs.oracle.com/javase/8/docs/api/",
       "javadoc.javax.jms.base_url" -> "https://docs.oracle.com/javaee/7/api/",
diff --git a/docs/src/main/paradox/solr.md b/docs/src/main/paradox/solr.md
index 9ecdb8919..94d0716a2 100644
--- a/docs/src/main/paradox/solr.md
+++ b/docs/src/main/paradox/solr.md
@@ -76,7 +76,7 @@ Data sent to Solr is not searchable until it has been committed to the index. Th
 2. Specify **commit-within** in `SolrUpdateSettings` to trigger commits after every write through Apache Pekko Connectors Solr.
 3. Use explicit committing via the `SolrClient.commit` methods on stream completion as most examples show. As `commit` is a blocking operation, choose an appropriate execution context (preferably *not* `system.dispatcher`).
 
-Configuration of Solr committing is described in @extref[UpdateHandlers in SolrConfig](solr:updatehandlers-in-solrconfig.html#commits).
+Configuration of Solr committing is described in @extref[Commits and Transaction Logs](solr:configuration-guide/commits-transaction-logs.html#commits).
 
 
 #### Available settings


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org