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

Jason Gerlowski updated SOLR-10851:
-----------------------------------
    Attachment: SOLR-10581.patch

Attached patch clarifies the solrServerUrl behavior for the 4 main SolrClient 
implementations.

I've also included an update to the "Using SolrJ" .adoc page as you suggested 
Ishan.  Thanks for the reminder to make use of the checked-in-documentation!

As a side note, the "Using SolrJ" page probably needs a little attention in 
general.  It has a lot of references which are are a bit out of date (it's 
missing LBHttpSolrClient and ConcurrentUpdateSolrClient from its list of 
implementations, it refers to the classes at several points as "SolrServer" 
instead of the "SolrClient", etc.)  But in the interest of making the patch 
easy to review, I'll create a separate JIRA for those proposed doc changes.

> SolrClient's should clarify expectations for solrServerUrl parameter
> --------------------------------------------------------------------
>
>                 Key: SOLR-10851
>                 URL: https://issues.apache.org/jira/browse/SOLR-10851
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: master (7.0)
>            Reporter: Jason Gerlowski
>            Priority: Trivial
>             Fix For: master (7.0)
>
>         Attachments: SOLR-10581.patch
>
>
> A recent [mailing 
> list|http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201706.mbox/%3C7742F2CD-95EA-490C-8886-726FC5CA4F95%40apple.com%3E]
>  thread brought up a common point of confusion: it's difficult for new users 
> to tell what URL/path should be given as the {{solrServerUrl}} SolrClient 
> param.
> Currently, the top-level HttpSolrClient Javadocs explain this.  But none of 
> the other SolrClient implementations provide any guidance to unfamiliar users.
> We should add consistent documentation for this parameter to each of the 
> SolrClient implementations.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to