Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-3649: port changes from 3x to trunk

Shai Ererad5932e1149ef
diff --git a/modules/facet/build.xml b/modules/facet/build.xml
index 751331f9a21..63788ec166d 100644
--- a/modules/facet/build.xml
+++ b/modules/facet/build.xml
@@ -73,23 +73,5 @@
<target name="compile-core" depends="jar-analyzers-common,common.compile-core,compile-examples" description="Compiles facet classes" />
<target name="jar-core" depends="common.jar-core,jar-examples" />
-
- <target name="javadocs" depends="compile-core">
- <sequential>
- <mkdir dir="${javadoc.dir}/contrib-${name}"/>
- <copy todir="${javadoc.dir}/contrib-${name}" file="docs/userguide.html" />
- <!-- javadoc core classes -->
- <invoke-javadoc
- destdir="${javadoc.dir}/contrib-${name}"
- title="${Name} ${version} contrib-${name} API">
- <sources>
- <link href=""/>
- <packageset dir="${src.dir}"/>
- <packageset dir="${examples.dir}"/>
- </sources>
- </invoke-javadoc>
- <jarify basedir="${javadoc.dir}/contrib-${name}" destfile="${build.dir}/${final.name}-javadoc.jar"/>
- </sequential>
- </target>
</project>
diff --git a/modules/facet/docs/prettify.css b/modules/facet/src/java/org/apache/lucene/facet/doc-files/prettify.css
similarity index 100%
rename from modules/facet/docs/prettify.css
rename to modules/facet/src/java/org/apache/lucene/facet/doc-files/prettify.css
diff --git a/modules/facet/docs/prettify.js b/modules/facet/src/java/org/apache/lucene/facet/doc-files/prettify.js
similarity index 100%
rename from modules/facet/docs/prettify.js
rename to modules/facet/src/java/org/apache/lucene/facet/doc-files/prettify.js
diff --git a/modules/facet/docs/userguide.html b/modules/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html
old mode 100644
new mode 100755
similarity index 100%
rename from modules/facet/docs/userguide.html
rename to modules/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html
diff --git a/modules/facet/src/java/org/apache/lucene/facet/package.html b/modules/facet/src/java/org/apache/lucene/facet/package.html
index ad84e3d79f1..938b6c68745 100644
--- a/modules/facet/src/java/org/apache/lucene/facet/package.html
+++ b/modules/facet/src/java/org/apache/lucene/facet/package.html
@@ -3,6 +3,7 @@
<title>Faceted Indexing and Search</title>
</head>
<body>
- Provides faceted indexing and search capabilities. The <a href="../../../../userguide.html">userguide</a> is recommended for a start.
+ <!-- NOTE: if you update the userguide link, also update the one in src/java/overview.html -->
+ Provides faceted indexing and search capabilities. The <a href="doc-files/userguide.html">userguide</a> is recommended for a start.
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/modules/facet/src/java/overview.html b/modules/facet/src/java/overview.html
index c338be66c42..ab505e311ee 100644
--- a/modules/facet/src/java/overview.html
+++ b/modules/facet/src/java/overview.html
@@ -21,6 +21,7 @@
</title>
</head>
<body>
- Provides faceted indexing and search capabilities (checkout the <a href="userguide.html">userguide</a>).
+ <!-- NOTE: if you update the userguide link, also update the one in o.a.l.facet/package.html -->
+ Provides faceted indexing and search capabilities (checkout the <a href="org/apache/lucene/facet/doc-files/userguide.html">userguide</a>).
</body>
-</html>
\ No newline at end of file
+</html>