lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (SOLR-6895) Consider renaming SolrServer to SolrClient
Date Mon, 29 Dec 2014 15:04:13 GMT


Yonik Seeley commented on SOLR-6895:

I think the origins of SolrServer instead of SolrClient go back to here:
Essentially modeling the server hence naming it Server.

It's never felt great to me though.  +1 to change to Client.
And since we're already breaking back compat, we should look into other SolrJ cleanups as

There's probably a ton of code out there that uses SolrJ though - so we should strive to either
keep SolrJ4 clients compatible with Solr5, or alternately provide a simple HttpSolrServer
wrapper that uses the new SolrClient.

> Consider renaming SolrServer to SolrClient
> ------------------------------------------
>                 Key: SOLR-6895
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>    Affects Versions: 5.0, Trunk
>            Reporter: Alan Woodward
>            Priority: Minor
> This has been niggling at me for a while.  Instantiating a new SolrServer object doesn't
create a server, it creates a client.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message