You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2016/04/12 21:20:25 UTC
[jira] [Created] (SOLR-8974) Collection API calls through SolrJ
should return Java objects instead of or along with NamedLists
Anshum Gupta created SOLR-8974:
----------------------------------
Summary: Collection API calls through SolrJ should return Java objects instead of or along with NamedLists
Key: SOLR-8974
URL: https://issues.apache.org/jira/browse/SOLR-8974
Project: Solr
Issue Type: New Feature
Reporter: Anshum Gupta
Assignee: Anshum Gupta
As of now, we return open-ended the NamedList to users as a response to a CollectionAdmin request via SolrJ. The users shouldn't need to be bothered about 'NamedList' but instead should have an easier way to work with the response e.g.: Create an collection should return a response object that has methods like:
* getReplicaInfo() - returns replica information about the newly created replicas.
List collections:
* return a List<String> via a call that looks like response.getCollections()
and so on.
--
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