fix all warnings from javadoc-solrj

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@823653 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2009-10-09 18:27:13 +00:00
parent 325e33d3e9
commit 678d377917
5 changed files with 25 additions and 22 deletions

View File

@ -191,7 +191,7 @@ public class SolrQuery extends ModifiableSolrParams
* Sets facet missing boolean flag
*
* @param v flag to indicate the field of {@link FacetParams#FACET_MISSING} .
* @return
* @return this
*/
public SolrQuery setFacetMissing(Boolean v) {
this.set(FacetParams.FACET_MISSING, v);
@ -515,11 +515,11 @@ public class SolrQuery extends ModifiableSolrParams
}
/**
* @see org.apache.solr.common.params.ModifiableSolrParams#set(String, String ...)
* @see ModifiableSolrParams#set(String,String[])
* @param name
* @param values
*
* @return
* @return this
*/
public SolrQuery setParam(String name, String ... values) {
this.set(name, values);
@ -530,7 +530,7 @@ public class SolrQuery extends ModifiableSolrParams
* @see org.apache.solr.common.params.ModifiableSolrParams#set(String, boolean)
* @param name
* @param value
* @return
* @return this
*/
public SolrQuery setParam(String name, boolean value) {
this.set(name, value);

View File

@ -192,7 +192,8 @@ public class CommonsHttpSolrServer extends SolrServer
}
/**
* @see {@link #useMultiPartPost}, {@link #_parser}
* @see #useMultiPartPost
* @see #_parser
*/
public CommonsHttpSolrServer(URL baseURL, HttpClient client, ResponseParser parser, boolean useMultiPartPost) {
_baseURL = baseURL.toExternalForm();

View File

@ -54,7 +54,7 @@ import java.util.concurrent.locks.ReentrantLock;
* SolrServer lbHttpSolrServer = new LBHttpSolrServer(httpClient,"http://host1:8080/solr/","http://host2:8080/solr","http://host2:8080/solr");
* </pre></blockquote>
* This detects if a dead server comes alive automatically. The check is done in fixed intervals in a dedicated thread.
* This interval can be set using {@see #setAliveCheckInterval} , the default is set to one minute.
* This interval can be set using {@link #setAliveCheckInterval} , the default is set to one minute.
* <p/>
* <b>When to use this?</b><br/> This can be used as a software load balancer when you do not wish to setup an external
* load balancer. The code is relatively new and the API is currently experimental. Alternatives to this code are to use

View File

@ -184,22 +184,22 @@ public class DocumentAnalysisResponse extends AnalysisResponseBase implements It
}
/**
* Returns the number of query time analysis phases or {@code -1) if this field analysis doesn't hold a query
* time analysis.
* Returns the number of query time analysis phases or {@code -1} if
* this field analysis doesn't hold a query time analysis.
*
* @return Returns the number of query time analysis phases or {@code -1) if this field analysis doesn't hold a
* query time analysis.
* @return Returns the number of query time analysis phases or {@code -1}
* if this field analysis doesn't hold a query time analysis.
*/
public int getQueryPhasesCount() {
return queryPhases == null ? -1 : queryPhases.size();
}
/**
* Returns the query time analysis phases for the field or {@code null} if this field doesn't hold a query time
* analysis.
* Returns the query time analysis phases for the field or {@code null}
* if this field doesn't hold a query time analysis.
*
* @return Returns the query time analysis phases for the field or {@code null} if this field doesn't hold a
* query time analysis.
* @return Returns the query time analysis phases for the field or
* {@code null} if this field doesn't hold a query time analysis.
*/
public Iterable<AnalysisPhase> getQueryPhases() {
return queryPhases;

View File

@ -150,22 +150,24 @@ public class FieldAnalysisResponse extends AnalysisResponseBase {
}
/**
* Returns the number of query time analysis phases in this analysis or {@code -1) if query time analysis
* doesn't exist.
* Returns the number of query time analysis phases in this analysis or
* {@code -1} if query time analysis doesn't exist.
*
* @return Returns the number of query time analysis phases in this analysis or {@code -1) if query time
* analysis doesn't exist.
* @return Returns the number of query time analysis phases in this
* analysis or {@code -1} if query time analysis doesn't exist.
*/
public int getQueryPhasesCount() {
return queryPhases == null ? -1 : queryPhases.size();
}
/**
* Returns the query time analysis phases for this analysis or {@code null} if query time analysis doesn't
* exist.
* Returns the query time analysis phases for this analysis or {@code null}
* if query time analysis doesn't exist.
*
*
* @return The query time analysis phases for this analysis or {@code null} if query time analysis doesn't
* exist.
* @return The query time analysis phases for this analysis or {@code null}
* if query time analysis doesn't exist.
*
*/
public Iterable<AnalysisPhase> getQueryPhases() {
return queryPhases;