clear up javadocs warnings

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1004038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2010-10-03 20:14:52 +00:00
parent afad8123d2
commit 2e3329b331
12 changed files with 31 additions and 19 deletions

View File

@ -346,6 +346,10 @@
bottom="Copyright © ${year} Apache Software Foundation. All Rights Reserved."> bottom="Copyright © ${year} Apache Software Foundation. All Rights Reserved.">
<tag name="todo" description="To Do:"/> <tag name="todo" description="To Do:"/>
<tag name="uml.property" description="UML Property:"/> <tag name="uml.property" description="UML Property:"/>
<tag name="lucene.experimental"
description="WARNING: This API is experimental and might change in incompatible ways in the next release."/>
<tag name="lucene.internal"
description="NOTE: This API is for Lucene internal purposes only and might change in incompatible ways in the next release."/>
<link offline="true" packagelistLoc="${build.javadoc}"/> <link offline="true" packagelistLoc="${build.javadoc}"/>
<link href="${javadoc.link.java}"/> <link href="${javadoc.link.java}"/>
<link href="${javadoc.link.junit}"/> <link href="${javadoc.link.junit}"/>

View File

@ -31,7 +31,7 @@ import java.util.Map;
* in case you don't need this HTML anyway. * in case you don't need this HTML anyway.
* *
* @version $Id$ * @version $Id$
* @see org.apache.solr.analysis.HTMLStripCharFilter * @see HTMLStripCharFilter
* @since solr 1.4 * @since solr 1.4
*/ */
public class HTMLStripTransformer extends Transformer { public class HTMLStripTransformer extends Transformer {

View File

@ -57,7 +57,8 @@ abstract class BaseTokenStreamFactory {
return args; return args;
} }
/** this method can be called in the {@link #create} method, /** this method can be called in the {@link TokenizerFactory#create(java.io.Reader)}
* or {@link TokenFilterFactory#create(org.apache.lucene.analysis.TokenStream)} methods,
* to inform user, that for this factory a {@link #luceneMatchVersion} is required */ * to inform user, that for this factory a {@link #luceneMatchVersion} is required */
protected final void assureMatchVersion() { protected final void assureMatchVersion() {
if (luceneMatchVersion == null) { if (luceneMatchVersion == null) {

View File

@ -64,7 +64,7 @@ import java.util.LinkedList;
* example above, the subclass must clone the additional "A" it creates. * example above, the subclass must clone the additional "A" it creates.
* *
* @deprecated This class does not support custom attributes. Extend TokenFilter instead, * @deprecated This class does not support custom attributes. Extend TokenFilter instead,
* using {@link AttributeSource#captureState()} and {@link AttributeSource#restoreState()} * using {@link AttributeSource#captureState()} and {@link AttributeSource#restoreState(State)}
* which support all attributes. * which support all attributes.
*/ */
@Deprecated @Deprecated

View File

@ -34,7 +34,6 @@ public abstract class SolrFragmentsBuilder extends HighlightingPluginBase
/** /**
* Return a {@link org.apache.lucene.search.vectorhighlight.FragmentsBuilder} appropriate for this field. * Return a {@link org.apache.lucene.search.vectorhighlight.FragmentsBuilder} appropriate for this field.
* *
* @param fieldName The name of the field
* @param params The params controlling Highlighting * @param params The params controlling Highlighting
* @return An appropriate {@link org.apache.lucene.search.vectorhighlight.FragmentsBuilder}. * @return An appropriate {@link org.apache.lucene.search.vectorhighlight.FragmentsBuilder}.
*/ */

View File

@ -25,6 +25,8 @@ import org.apache.solr.common.SolrDocumentList;
import org.apache.solr.common.SolrInputDocument; import org.apache.solr.common.SolrInputDocument;
import org.apache.solr.request.SolrQueryRequest; import org.apache.solr.request.SolrQueryRequest;
import org.apache.solr.response.BaseResponseWriter.SingleResponseWriter; // javadocs
/** /**
* *
* *

View File

@ -24,6 +24,8 @@ import org.apache.solr.common.SolrDocumentList;
import org.apache.solr.common.SolrInputDocument; import org.apache.solr.common.SolrInputDocument;
import org.apache.solr.request.SolrQueryRequest; import org.apache.solr.request.SolrQueryRequest;
import org.apache.solr.response.BaseResponseWriter.SingleResponseWriter; // javadocs
/** /**
* *
* *
@ -46,7 +48,7 @@ public abstract class GenericTextResponseWriter extends BaseResponseWriter
* {@link #getSingleResponseWriter(Writer, SolrQueryRequest, SolrQueryResponse)} * {@link #getSingleResponseWriter(Writer, SolrQueryRequest, SolrQueryResponse)}
* . * .
* *
* @param out * @param writer
* The {@link Writer} to write the text output to. * The {@link Writer} to write the text output to.
* @param request * @param request
* The provided {@link SolrQueryRequest}. * The provided {@link SolrQueryRequest}.

View File

@ -635,7 +635,7 @@ final public class XMLWriter {
* @param name * @param name
* @param map * @param map
* @throws IOException * @throws IOException
* @see http://lucene.apache.org/solr/api/org/apache/solr/response/SolrQueryResponse.html#returnable_data * @see SolrQueryResponse Note on Returnable Data
*/ */
public void writeMap(String name, Map<Object,Object> map) throws IOException { public void writeMap(String name, Map<Object,Object> map) throws IOException {
int sz = map.size(); int sz = map.size();

View File

@ -33,7 +33,7 @@ import org.apache.solr.schema.SpatialQueryable;
/** /**
* @see {@link SpatialFilterQParserPlugin} * @see SpatialFilterQParserPlugin
*/ */
public class SpatialFilterQParser extends QParser { public class SpatialFilterQParser extends QParser {
boolean bbox; // do bounding box only boolean bbox; // do bounding box only

View File

@ -215,7 +215,7 @@ abstract class IntDocValues extends DocValues {
/** /**
* <code>DocFreqValueSource</code> returns the number of documents containing the term. * <code>DocFreqValueSource</code> returns the number of documents containing the term.
* @internal * @lucene.internal
*/ */
public class DocFreqValueSource extends ValueSource { public class DocFreqValueSource extends ValueSource {
protected String field; protected String field;

View File

@ -29,7 +29,7 @@ import org.apache.solr.util.ByteUtils;
import java.io.IOException; import java.io.IOException;
import java.util.Map; import java.util.Map;
/** @internal */ /** @lucene.internal */
public class IDFValueSource extends DocFreqValueSource { public class IDFValueSource extends DocFreqValueSource {
public IDFValueSource(String field, String val, String indexedField, BytesRef indexedBytes) { public IDFValueSource(String field, String val, String indexedField, BytesRef indexedBytes) {
super(field, val, indexedField, indexedBytes); super(field, val, indexedField, indexedBytes);

View File

@ -2,20 +2,24 @@ package org.apache.solr.spelling.suggest.tst;
/** /**
* The class creates a TST node. * The class creates a TST node.
* @variable splitchar the character stored by a node.
* @variable loKid a reference object to the node containing character smaller than
* this node's character.
* @variable eqKid a reference object to the node containg character next to this
* node's character as occuring in the inserted token.
* @variable hiKid a reference object to the node containing character higher than
* this node's character.
* @variable token used by leaf nodes to store the complete tokens to be added to
* suggest list while auto-completing the prefix.
*/ */
public class TernaryTreeNode { public class TernaryTreeNode {
/** the character stored by a node. */
char splitchar; char splitchar;
TernaryTreeNode loKid, eqKid, hiKid; /** a reference object to the node containing character smaller than this node's character. */
TernaryTreeNode loKid;
/**
* a reference object to the node containing character next to this node's character as
* occurring in the inserted token.
*/
TernaryTreeNode eqKid;
/** a reference object to the node containing character higher than this node's character. */
TernaryTreeNode hiKid;
/**
* used by leaf nodes to store the complete tokens to be added to suggest list while
* auto-completing the prefix.
*/
String token; String token;
Object val; Object val;
} }