Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-1444: fix broken site links in javadocs

Michael McCandless7abe0311bc6f
diff --git a/build.xml b/build.xml
index efceacb4ecb..e9f74e6a6d1 100644
--- a/build.xml
+++ b/build.xml
@@ -268,9 +268,9 @@
<target name="javadocs-all" description="Generate javadoc for core, demo and contrib classes" depends="build-contrib">
<sequential>
- <mkdir dir="${javadoc.dir}"/>
+ <mkdir dir="${javadoc.dir}/all"/>
<invoke-javadoc
- destdir="${javadoc.dir}">
+ destdir="${javadoc.dir}/all">
<sources>
<!-- TODO: find a dynamic way to do include multiple source roots -->
<packageset dir="src/java"/>
diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
index bd5ab608dad..31106d0f797 100644
--- a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
+++ b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
@@ -80,7 +80,7 @@ import org.apache.lucene.search.Similarity;
* <a target="_blank" href="http://today.java.net/pub/a/today/2003/07/30/LuceneIntro.html">Lucene Analyzer Intro</a>.
* <p>
* Arbitrary Lucene queries can be run against this class - see <a target="_blank"
- * href="http://lucene.apache.org/java/docs/queryparsersyntax.html">Lucene Query Syntax</a>
+ * href="../../../../../../../queryparsersyntax.html">Lucene Query Syntax</a>
* as well as <a target="_blank"
* href="http://today.java.net/pub/a/today/2003/11/07/QueryParserRules.html">Query Parser Rules</a>.
* Note that a Lucene query selects on the field names and associated (indexed)
diff --git a/contrib/miscellaneous/src/java/org/apache/lucene/queryParser/precedence/PrecedenceQueryParser.java b/contrib/miscellaneous/src/java/org/apache/lucene/queryParser/precedence/PrecedenceQueryParser.java
index 8dff140c556..2423c5dfeaa 100644
--- a/contrib/miscellaneous/src/java/org/apache/lucene/queryParser/precedence/PrecedenceQueryParser.java
+++ b/contrib/miscellaneous/src/java/org/apache/lucene/queryParser/precedence/PrecedenceQueryParser.java
@@ -66,7 +66,7 @@ import org.apache.lucene.util.Parameter;
*
* <p>
* Examples of appropriately formatted queries can be found in the <a
- * href="http://jakarta.apache.org/lucene/docs/queryparsersyntax.html">query syntax
+ * href="../../../../../../../queryparsersyntax.html">query syntax
* documentation</a>.
* </p>
*
diff --git a/contrib/miscellaneous/src/java/org/apache/lucene/queryParser/precedence/PrecedenceQueryParser.jj b/contrib/miscellaneous/src/java/org/apache/lucene/queryParser/precedence/PrecedenceQueryParser.jj
index 1f0b4287e58..9d090b82a91 100644
--- a/contrib/miscellaneous/src/java/org/apache/lucene/queryParser/precedence/PrecedenceQueryParser.jj
+++ b/contrib/miscellaneous/src/java/org/apache/lucene/queryParser/precedence/PrecedenceQueryParser.jj
@@ -90,7 +90,7 @@ import org.apache.lucene.util.Parameter;
*
* <p>
* Examples of appropriately formatted queries can be found in the <a
- * href="http://jakarta.apache.org/lucene/docs/queryparsersyntax.html">query syntax
+ * href="../../../../../../../queryparsersyntax.html">query syntax
* documentation</a>.
* </p>
*
diff --git a/src/java/org/apache/lucene/document/package.html b/src/java/org/apache/lucene/document/package.html
index ac80c122a6d..29d91fdd61e 100644
--- a/src/java/org/apache/lucene/document/package.html
+++ b/src/java/org/apache/lucene/document/package.html
@@ -37,7 +37,7 @@ package also provides utilities for working with {@link org.apache.lucene.docume
to create Documents based on the content of the files you are working with in your application (Word, txt, PDF, Excel or any other format.)
How this is done is completely up to you. That being said, there are many tools available in other projects that can make
the process of taking a file and converting it into a Lucene {@link org.apache.lucene.document.Document}. To see an example of this,
- take a look at the Lucene <a href="http://lucene.apache.org/java/docs/gettingstarted.html" target="top">demo</a> and the associated source code
+ take a look at the Lucene <a href="../../../../../../gettingstarted.html" target="top">demo</a> and the associated source code
for extracting content from HTML.
</p>
<p>The {@link org.apache.lucene.document.DateTools} and {@link org.apache.lucene.document.NumberTools} classes are utility
diff --git a/src/java/org/apache/lucene/queryParser/QueryParser.java b/src/java/org/apache/lucene/queryParser/QueryParser.java
index c16ae226378..a331a5385e7 100644
--- a/src/java/org/apache/lucene/queryParser/QueryParser.java
+++ b/src/java/org/apache/lucene/queryParser/QueryParser.java
@@ -66,7 +66,7 @@ import org.apache.lucene.util.Parameter;
*
* <p>
* Examples of appropriately formatted queries can be found in the <a
- * href="http://lucene.apache.org/java/docs/queryparsersyntax.html">query syntax
+ * href="../../../../../../queryparsersyntax.html">query syntax
* documentation</a>.
* </p>
*
diff --git a/src/java/org/apache/lucene/queryParser/QueryParser.jj b/src/java/org/apache/lucene/queryParser/QueryParser.jj
index fe95ead076a..c993a4922f7 100644
--- a/src/java/org/apache/lucene/queryParser/QueryParser.jj
+++ b/src/java/org/apache/lucene/queryParser/QueryParser.jj
@@ -90,7 +90,7 @@ import org.apache.lucene.util.Parameter;
*
* <p>
* Examples of appropriately formatted queries can be found in the <a
- * href="http://lucene.apache.org/java/docs/queryparsersyntax.html">query syntax
+ * href="../../../../../../queryparsersyntax.html">query syntax
* documentation</a>.
* </p>
*
diff --git a/src/java/org/apache/lucene/search/Similarity.java b/src/java/org/apache/lucene/search/Similarity.java
index cf527d7e891..fd85015b59c 100644
--- a/src/java/org/apache/lucene/search/Similarity.java
+++ b/src/java/org/apache/lucene/search/Similarity.java
@@ -209,7 +209,7 @@ import java.util.Iterator;
* <b>t.getBoost()</b>
* is a search time boost of term <i>t</i> in the query <i>q</i> as
* specified in the query text
- * (see <A HREF="../../../../../queryparsersyntax.html#Boosting a Term">query syntax</A>),
+ * (see <A HREF="../../../../../../queryparsersyntax.html#Boosting a Term">query syntax</A>),
* or as set by application calls to
* {@link org.apache.lucene.search.Query#setBoost(float) setBoost()}.
* Notice that there is really no direct API for accessing a boost of one term in a multi term query,
diff --git a/src/site/src/documentation/content/xdocs/site.xml b/src/site/src/documentation/content/xdocs/site.xml
index 8c79a08f02c..130471f3337 100755
--- a/src/site/src/documentation/content/xdocs/site.xml
+++ b/src/site/src/documentation/content/xdocs/site.xml
@@ -92,7 +92,7 @@ See http://forrest.apache.org/docs/linking.html for more info
-->
<external-refs>
- <javadocs-all href="api/index.html"/>
+ <javadocs-all href="api/all/index.html"/>
<javadocs-core href="api/core/index.html"/>
<javadocs-demo href="api/demo/index.html"/>
<javadocs-contrib-analyzers href="api/contrib-analyzers/index.html"/>