lucene-dev mailing list archives

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

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

Yonik Seeley commented on SOLR-6895:
------------------------------------

I think the origins of SolrServer instead of SolrClient go back to here:
http://markmail.org/message/yeoqv643eootcscd
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
well.

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: https://issues.apache.org/jira/browse/SOLR-6895
>             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
(v6.3.4#6332)

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


Mime
View raw message