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

Cao Manh Dat commented on SOLR-10431:
-------------------------------------

Thanks [~shalinmangar]
1. v2 APIs do use DELETE method. Ex : DELETE a collection
2. sure
3. Sure, that can be achieve easily
4. I use the code from ADMIN_PATHS below, how can it lead to complication error?
{code}
 if (ADMIN_PATHS.contains(request.getPath())) {
      Set<String> liveNodes = stateProvider.liveNodes();
      for (String liveNode : liveNodes) {
        theUrlList.add(ZkStateReader.getBaseUrlForNodeName(liveNode,
            (String) 
stateProvider.getClusterProperties().getOrDefault(ZkStateReader.URL_SCHEME,"http")));
      }
{code}

> Make it possible to invoke v2 api calls using SolrJ
> ---------------------------------------------------
>
>                 Key: SOLR-10431
>                 URL: https://issues.apache.org/jira/browse/SOLR-10431
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: v2 API
>            Reporter: Noble Paul
>            Assignee: Cao Manh Dat
>         Attachments: SOLR-10431.patch
>
>




--
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