Apache Lucene open-source search software
SOLR-10842: Convert all remaining {{quickstart.html}} links to {{guide/solr-tutorial.html}}; remove all references to quickstart from the build; and version the link to the ref guide's tutorial in Solr's versioned top-level documentation page.
Steve Rowe93d8e428ea46
diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.pyindex d3ba89ab05e..8ae0f4ce4e4 100644--- a/dev-tools/scripts/checkJavadocLinks.py+++ b/dev-tools/scripts/checkJavadocLinks.py@@ -210,9 +210,6 @@ def checkAll(dirName):elif link.find('lucene.apache.org/solr/mirrors-solr-latest-redir.html') != -1:# OKpass- elif link.find('lucene.apache.org/solr/quickstart.html') != -1:- # OK- passelif link.find('lucene.apache.org/solr/guide/') != -1:# OKpassdiff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 928d37fcf89..4996a131702 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -14,7 +14,7 @@ Getting StartedYou need a Java 1.8 VM or later installed.In this release, there is an example Solr server including a bundledservlet container in the directory named "example".-See the Quick Start guide at http://lucene.apache.org/solr/quickstart.html+See the Solr tutorial at https://lucene.apache.org/solr/guide/solr-tutorial.html================== 8.0.0 ==================diff --git a/solr/README.txt b/solr/README.txtindex 6af0cc65e5e..0de8b577348 100644--- a/solr/README.txt+++ b/solr/README.txt@@ -87,8 +87,8 @@ For more information about Solr examples please read...* example/README.txtFor more information about the "Solr Home" and Solr specific configuration- * http://lucene.apache.org/solr/quickstart.html- For a Quick Start guide+ * https://lucene.apache.org/solr/guide/solr-tutorial.html+ For a Solr tutorial* http://lucene.apache.org/solr/resources.htmlFor a list of other tutorials and introductory articles.diff --git a/solr/build.xml b/solr/build.xmlindex 16d4201ed8e..9b0bdabd416 100644--- a/solr/build.xml+++ b/solr/build.xml@@ -191,22 +191,6 @@depends="javadocs,changes-to-html,process-webpages"/><target name="compile-core" depends="compile-solr-core" unless="solr.core.compiled"/>- <target name="generate-website-quickstart"- description="Generate a version of the quickstart tutorial suitable for the website, at build/website/quickstart.mdtext">- <copy file="${common-solr.dir}/site/quickstart.mdtext" tofile="${common-solr.dir}/build/website/quickstart.mdtext"- overwrite="false" encoding="UTF-8">- <filterchain>- <tokenfilter>- <filetokenizer/>- <!-- Website images are under /solr/assets/images/ -->- <replaceregex pattern="src\s*=\s*"images/" replace="src="/solr/assets/images/" flags="gs"/>- <!-- Redirect to the website's version-specific system requirements page -->- <replaceregex pattern="\(SYSTEM_REQUIREMENTS.html\)" replace="(/solr/api/SYSTEM_REQUIREMENTS.html)" flags="gs"/>- </tokenfilter>- </filterchain>- </copy>- </target>-<target name="documentation-online" description="Generate a link to the online documentation"depends="define-solr-javadoc-url"><xslt in="${ant.file}" out="${javadoc-online.dir}/index.html" style="site/online-link.xsl" force="true">@@ -226,6 +210,16 @@<makeurl property="process-webpages.buildfiles" separator="|"><fileset dir="." includes="core/build.xml,test-framework/build.xml,solrj/build.xml,contrib/**/build.xml"/></makeurl>++ <loadresource property="doc-solr-guide-version-path">+ <propertyresource name="version"/>+ <filterchain>+ <tokenfilter>+ <filetokenizer/>+ <replaceregex pattern="^(\d+)\.(\d+).*" replace="\1_\2"/>+ </tokenfilter>+ </filterchain>+ </loadresource><!--The XSL input file is ignored completely, but XSL expects one to be given,so we pass ourself (${ant.file}) here. The list of module build.xmls is given@@ -239,6 +233,7 @@<param name="buildfiles" expression="${process-webpages.buildfiles}"/><param name="version" expression="${version}"/><param name="luceneJavadocUrl" expression="${lucene.javadoc.url}"/>+ <param name="solrGuideVersion" expression="${doc-solr-guide-version-path}"/></xslt><markdown todir="${javadoc.dir}">@@ -676,7 +671,7 @@<!-- NOTE: must currently exclude deprecated-list due to a javadocs bug (as of 1.7.0_09)javadocs generates invalid XML if you deprecate a method that takes a parameterwith a generic type -->- <fileset dir="build/docs" includes="**/*.html" excludes="**/deprecated-list.html,quickstart.html"/>+ <fileset dir="build/docs" includes="**/*.html" excludes="**/deprecated-list.html"/></jtidy-macro><echo message="Checking for broken links..."/><check-broken-links dir="${javadoc.dir}"/>diff --git a/solr/contrib/ltr/README.md b/solr/contrib/ltr/README.mdindex 6b56cdf4341..6324ecfb35b 100644--- a/solr/contrib/ltr/README.md+++ b/solr/contrib/ltr/README.md@@ -14,7 +14,7 @@ For information on how to get started with solr ltr please see:For information on how to get started with solr please see:* [solr/README.txt](../../README.txt)- * [Solr Quick Start](http://lucene.apache.org/solr/quickstart.html)+ * [Solr Tutorial](https://lucene.apache.org/solr/guide/solr-tutorial.html)# How To Contributediff --git a/solr/example/README.txt b/solr/example/README.txtindex 4c8cca1fd88..562c2563779 100644--- a/solr/example/README.txt+++ b/solr/example/README.txt@@ -48,8 +48,8 @@ For more information about this example please read...* example/solr/README.txtFor more information about the "Solr Home" and Solr specific configuration- * http://lucene.apache.org/solr/quickstart.html- For a Tutorial using this example configuration+ * https://lucene.apache.org/solr/guide/solr-tutorial.html+ For a Solr tutorial* http://wiki.apache.org/solr/SolrResourcesFor a list of other tutorials and introductory articles.diff --git a/solr/site/index.xsl b/solr/site/index.xslindex b75fb9c582c..20eeea7f46c 100644--- a/solr/site/index.xsl+++ b/solr/site/index.xsl@@ -23,6 +23,7 @@<xsl:param name="buildfiles"/><xsl:param name="version"/><xsl:param name="luceneJavadocUrl"/>+ <xsl:param name="solrGuideVersion"/><!--NOTE: This template matches the root element of any given input XML document!@@ -74,7 +75,7 @@<li><a href="http://wiki.apache.org/solr">Wiki</a>: Additional documentation, especially focused on using Solr.</li><li><a href="changes/Changes.html">Changes</a>: List of changes in this release.</li><li><a href="SYSTEM_REQUIREMENTS.html">System Requirements</a>: Minimum and supported Java versions.</li>- <li><a href="quickstart.html">Solr Quick Start</a>: This document covers the basics of running Solr using an example schema, and some sample data.</li>+ <li><a href="https://lucene.apache.org/solr/guide/{$solrGuideVersion}/solr-tutorial.html">Solr Tutorial</a>: This document covers the basics of running Solr using an example schema, and some sample data.</li><li><a href="{$luceneJavadocUrl}index.html">Lucene Documentation</a></li></ul><h2>API Javadocs</h2>diff --git a/solr/site/quickstart.mdtext b/solr/site/quickstart.mdtextdeleted file mode 100644index 92f593d34eb..00000000000--- a/solr/site/quickstart.mdtext+++ /dev/null@@ -1,6 +0,0 @@-<!-- As of 2 Oct 2017, this page now automatically redirects to- the Solr Reference Guide page solr/guide/solr-tutorial.html -->--# Solr Quick Start--Please see the [Solr Tutorial](https://lucene.apache.org/solr/guide/solr-tutorial.html) or additional [Resources](http://lucene.apache.org/solr/resources.html).