Actually I have found the solution. To run solr from dev folder I should
use the build command ./gradlew dev and not ./gradlew assemble

Regard,
Joshua Ouma

On Wed, Oct 12, 2022 at 11:39 AM Joshua Ouma <joshuaou...@gmail.com> wrote:

> Hi all ,
> I'm working on creating a v2 equivalent of v1 CLUSTERSTATUS-
>
> I have created an endpoint @EndPoint(method = GET, path =
> "/cluster/cluster-status", permission = COLL_READ_PERM) of the ClusterAPI.
>
> After running ./gradlew assemble and starting solr from the dev folder I
> tested the endpoint using curl -X GET
> http://localhost:8983/api/cluster/cluster-status/ but I'm getting the
> error
> {"metadata":{"error-class":"org.apache.solr.common.SolrException","root-error-class":"org.apache.solr.common.SolrException"},"msg":"Cannot
> find API for the path: /cluster/cluster-status/"}
>
> Am I missing something?
>
> Regards,
> Joshua Ouma
>

Reply via email to