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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to