Skip to content

Apache Lucene open-source search software

clean up javadoc warnings

Chris M. Hostetter67fecffee5a8
diff --git a/solr/build.xml b/solr/build.xml
index 0f15a380b2f..83dbbd10a69 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -186,6 +186,7 @@
<path refid="compile.classpath.solrj"/>
<fileset dir="contrib">
<include name="**/lib/**/*.jar"/>
+ <include name="**/lucene-libs/**/*.jar"/>
</fileset>
<pathelement location="${dest}/client/solrj"/>
</path>
@@ -197,6 +198,7 @@
<packageset dir="${src}/java" />
<packageset dir="${src}/webapp/src" />
<packageset dir="contrib/dataimporthandler/src/main/java" />
+ <packageset dir="contrib/dataimporthandler/src/extras/main/java" />
<packageset dir="contrib/clustering/src/main/java" />
<packageset dir="contrib/extraction/src/main/java" />
<packageset dir="contrib/uima/src/main/java" />
diff --git a/solr/src/common/org/apache/solr/common/util/FileUtils.java b/solr/src/common/org/apache/solr/common/util/FileUtils.java
index 3ca2c28e7b2..bf4026ab3ee 100644
--- a/solr/src/common/org/apache/solr/common/util/FileUtils.java
+++ b/solr/src/common/org/apache/solr/common/util/FileUtils.java
@@ -54,9 +54,7 @@ public class FileUtils {
}
/**
- * Copied from Lucene's {@link org.apache.lucene.store.FSDirectory#sync(String)}
- *
- * @see org.apache.lucene.store.FSDirectory#sync(String)
+ * Copied from Lucene's FSDirectory.sync(String) <!-- protected -->
*
* @param fullFile the File to be synced to disk
* @throws IOException if the file could not be synced
diff --git a/solr/src/java/org/apache/solr/schema/FieldType.java b/solr/src/java/org/apache/solr/schema/FieldType.java
index d4dc8bc952e..2c2e3e0d221 100644
--- a/solr/src/java/org/apache/solr/schema/FieldType.java
+++ b/solr/src/java/org/apache/solr/schema/FieldType.java
@@ -58,7 +58,7 @@ public abstract class FieldType extends FieldProperties {
/**
* The default poly field separator.
*
- * @see #createFields(SchemaField, String, float)
+ * @see #createFields(SchemaField, Object, float)
* @see #isPolyField()
*/
public static final String POLY_FIELD_SEPARATOR = "___";
@@ -85,9 +85,9 @@ public abstract class FieldType extends FieldProperties {
}
/**
- * A "polyField" is a FieldType that can produce more than one Fieldable instance for a single value, via the {@link #createFields(org.apache.solr.schema.SchemaField, String, float)} method. This is useful
+ * A "polyField" is a FieldType that can produce more than one Fieldable instance for a single value, via the {@link #createFields(org.apache.solr.schema.SchemaField, Object, float)} method. This is useful
* when hiding the implementation details of a field from the Solr end user. For instance, a spatial point may be represented by multiple different fields.
- * @return true if the {@link #createFields(org.apache.solr.schema.SchemaField, String, float)} method may return more than one field
+ * @return true if the {@link #createFields(org.apache.solr.schema.SchemaField, Object, float)} method may return more than one field
*/
public boolean isPolyField(){
return false;
@@ -273,7 +273,7 @@ public abstract class FieldType extends FieldProperties {
/**
* Given a {@link org.apache.solr.schema.SchemaField}, create one or more {@link org.apache.lucene.document.Fieldable} instances
* @param field the {@link org.apache.solr.schema.SchemaField}
- * @param externalVal The value to add to the field
+ * @param value The value to add to the field
* @param boost The boost to apply
* @return An array of {@link org.apache.lucene.document.Fieldable}
*
diff --git a/solr/src/java/org/apache/solr/schema/SchemaField.java b/solr/src/java/org/apache/solr/schema/SchemaField.java
index 5829776a486..41ad8e051c1 100644
--- a/solr/src/java/org/apache/solr/schema/SchemaField.java
+++ b/solr/src/java/org/apache/solr/schema/SchemaField.java
@@ -102,7 +102,7 @@ public final class SchemaField extends FieldProperties {
}
/**
- * If true, then use {@link #createFields(String, float)}, else use {@link #createField} to save an extra allocation
+ * If true, then use {@link #createFields(Object, float)}, else use {@link #createField} to save an extra allocation
* @return true if this field is a poly field
*/
public boolean isPolyField(){