[ 
https://issues.apache.org/jira/browse/SOLR-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Woodward resolved SOLR-4004.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.1

Committed, trunk: 1403109, branch4x: 1403110

Thanks Benson!
                
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to