You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:23:18 UTC

[jira] [Commented] (SOLR-4004) Improve Javadoc for SolrPing

    [ https://issues.apache.org/jira/browse/SOLR-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610624#comment-13610624 ] 

Commit Tag Bot commented on SOLR-4004:
--------------------------------------

[branch_4x commit] Alan Woodward
http://svn.apache.org/viewvc?view=revision&revision=1403110

SOLR-4004: Improve Javadoc for SolrPing

                
> Improve Javadoc for SolrPing
> ----------------------------
>
>                 Key: SOLR-4004
>                 URL: https://issues.apache.org/jira/browse/SOLR-4004
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>    Affects Versions: 4.0
>            Reporter: Benson Margulies
>            Assignee: Alan Woodward
>             Fix For: 4.1, 5.0
>
>
> There's no text in the javadoc of SolrPing. Since it depends on a particular admin request handler, it would be helpful if it explained the situation. Patch to be attached.
> Since this is such a small patch, I'm dropping it here:
> {noformat}
> diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/request/SolrPing.java b/solr/solrj/src/java/org/apache/
> index a1c6be2..4adbc41 100644
> --- a/solr/solrj/src/java/org/apache/solr/client/solrj/request/SolrPing.java
> +++ b/solr/solrj/src/java/org/apache/solr/client/solrj/request/SolrPing.java
> @@ -28,7 +28,9 @@ import org.apache.solr.common.params.ModifiableSolrParams;
>  import org.apache.solr.common.util.ContentStream;
>  
>  /**
> - * 
> + * Verify that there is a working Solr core at the URL of a {@link SolrServer}.
> + * To use this class, the solrconfig.xml for the relevant core must include the
> + * request handler for <code>/admin/ping</code>.
>   *
>   * @since solr 1.3
>   */
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org