You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ho...@apache.org on 2007/09/24 23:20:54 UTC
svn commit: r578977 - in /lucene/solr/trunk/src/java/org/apache/solr:
common/ highlight/ util/ util/plugin/
Author: hossman
Date: Mon Sep 24 14:20:53 2007
New Revision: 578977
URL: http://svn.apache.org/viewvc?rev=578977&view=rev
Log:
javadoc warning cleanup
Modified:
lucene/solr/trunk/src/java/org/apache/solr/common/SolrInputDocument.java
lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFormatter.java
lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFragmenter.java
lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java
lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java
lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java
lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/common/SolrInputDocument.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/common/SolrInputDocument.java?rev=578977&r1=578976&r2=578977&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/common/SolrInputDocument.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/common/SolrInputDocument.java Mon Sep 24 14:20:53 2007
@@ -57,7 +57,7 @@
/**
* Add a field with implied null value for boost.
*
- * @see addField(String, Object, Float)
+ * @see #addField(String, Object, float)
* @param name name of the field to add
* @param value value of the field
*/
@@ -104,7 +104,7 @@
/** Set a field with implied null value for boost.
*
- * @see setField(String, Object, Float)
+ * @see #setField(String, Object, float)
* @param name name of the field to set
* @param value value of the field
*/
@@ -137,7 +137,7 @@
/**
* Remove a field from the document
*
- * @param key The field name whose field is to be removed from the document
+ * @param name The field name whose field is to be removed from the document
* @return the previous field with <tt>name</tt>, or
* <tt>null</tt> if there was no field for <tt>key</tt>.
*/
Modified: lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFormatter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFormatter.java?rev=578977&r1=578976&r2=578977&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFormatter.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFormatter.java Mon Sep 24 14:20:53 2007
@@ -36,7 +36,7 @@
* Return a formatter appropriate for this field.
*
* @param fieldName The name of the field
- * @param request The current SolrQueryRequest
+ * @param params The params controlling Highlighting
* @return An appropriate Formatter.
*/
public Formatter getFormatter(String fieldName, SolrParams params );
Modified: lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFragmenter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFragmenter.java?rev=578977&r1=578976&r2=578977&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFragmenter.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrFragmenter.java Mon Sep 24 14:20:53 2007
@@ -36,7 +36,7 @@
* Return a fragmenter appropriate for this field.
*
* @param fieldName The name of the field
- * @param request The current SolrQueryRequest
+ * @param params The params controlling Highlighting
* @return An appropriate Fragmenter.
*/
public Fragmenter getFragmenter(String fieldName, SolrParams params);
Modified: lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java?rev=578977&r1=578976&r2=578977&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java Mon Sep 24 14:20:53 2007
@@ -103,7 +103,7 @@
/**
* Check whether Highlighting is enabled for this request.
- * @param request The current SolrQueryRequest
+ * @param params The params controlling Highlighting
* @return <code>true</code> if highlighting enabled, <code>false</code> if not.
*/
public boolean isHighlightingEnabled(SolrParams params) {
@@ -182,7 +182,7 @@
* been configured for this field, fall back to the configured default
* or the solr default.
* @param fieldName The name of the field
- * @param request The current SolrQueryRequest
+ * @param params The params controlling Highlighting
*/
protected int getMaxSnippets(String fieldName, SolrParams params) {
return params.getFieldInt(fieldName, HighlightParams.SNIPPETS,1);
@@ -194,7 +194,7 @@
* default or the solr default (SimpleHTMLFormatter).
*
* @param fieldName The name of the field
- * @param request The current SolrQueryRequest
+ * @param params The params controlling Highlighting
* @return An appropriate Formatter.
*/
protected Formatter getFormatter(String fieldName, SolrParams params )
@@ -213,7 +213,7 @@
* default or the solr default (GapFragmenter).
*
* @param fieldName The name of the field
- * @param request The current SolrQueryRequest
+ * @param params The params controlling Highlighting
* @return An appropriate Fragmenter.
*/
protected Fragmenter getFragmenter(String fieldName, SolrParams params)
Modified: lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java?rev=578977&r1=578976&r2=578977&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java Mon Sep 24 14:20:53 2007
@@ -813,7 +813,7 @@
/**
* Builds a list of Query objects that should be used to filter results
- * @see SolrParams#FQ
+ * @see CommonParams#FQ
* @return null if no filter queries
*/
public static List<Query> parseFilterQueries(SolrQueryRequest req) throws ParseException {
Modified: lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java?rev=578977&r1=578976&r2=578977&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java Mon Sep 24 14:20:53 2007
@@ -98,16 +98,14 @@
this( dataDirectory, "solrconfig.xml", schemaFile);
}
/**
- * @param name the core name
* @param dataDirectory path for index data, will not be cleaned up
- * @param configFile solrconfig filename
+ * @param configFile solrconfig filename
* @param schemaFile schema filename
*/
public TestHarness( String dataDirectory, String configFile, String schemaFile) {
this( dataDirectory, createConfig(configFile), schemaFile);
}
/**
- * @param name the core name
* @param dataDirectory path for index data, will not be cleaned up
* @param solrConfig solronfig instance
* @param schemaFile schema filename
@@ -118,10 +116,9 @@
this( dataDirectory, solrConfig, new IndexSchema(solrConfig, schemaFile));
}
/**
- * @param name the core name
* @param dataDirectory path for index data, will not be cleaned up
* @param solrConfig solrconfig instance
- * @param schema schema instance
+ * @param indexSchema schema instance
*/
public TestHarness( String dataDirectory,
SolrConfig solrConfig,
Modified: lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java?rev=578977&r1=578976&r2=578977&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java Mon Sep 24 14:20:53 2007
@@ -45,7 +45,7 @@
/**
* @param type is the 'type' name included in error messages.
- * @param preRegister, if true, this will first register all Plugins, then it will initialize them.
+ * @param preRegister if true, this will first register all Plugins, then it will initialize them.
*/
public AbstractPluginLoader( String type, boolean preRegister, boolean requireName )
{