[ 
https://issues.apache.org/jira/browse/SOLR-14612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Ortega updated SOLR-14612:
---------------------------------
    Description: 
This bug prevents to register custom plugins in instances which name starts 
with "solr" using the V2 API as is described in 
[https://lucene.apache.org/solr/guide/8_5/adding-custom-plugins-in-solrcloud-mode.html|https://lucene.apache.org/solr/guide/8_4/adding-custom-plugins-in-solrcloud-mode.html]

As "/solr" is replaced by "/api" in 
[https://github.com/apache/lucene-solr/blob/6eb7bc3b7bd6dea2a104448e921f7234973f0197/solr/core/src/java/org/apache/solr/pkg/PackageAPI.java#L418],
 the solr instance hostnames can't start with "/solr" because will be replaced 
with "/api" when the api endpoint is used.

*i.e:* "http://solrexample.domain/solr"; will be converted to 
"http://apiexample.domain/api"; and should be "http://solrexample.domain/api". 

  was:
This bug prevents to register custom plugins in instances which name starts 
with "solr" using the V2 API as is described in 
[https://lucene.apache.org/solr/guide/8_4/adding-custom-plugins-in-solrcloud-mode.html]

As "/solr" is replaced by "/api" in 
[https://github.com/apache/lucene-solr/blob/6eb7bc3b7bd6dea2a104448e921f7234973f0197/solr/core/src/java/org/apache/solr/pkg/PackageAPI.java#L418],
 the solr instance hostnames can't start with "/solr" because will be replaced 
with "/api" when the api endpoint is used.

*i.e:* "http://solrexample.domain/solr"; will be converted to 
"http://apiexample.domain/api"; and should be "http://solrexample.domain/api". 


> Cannot register custom plugins in instances with hostname starting with "solr"
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-14612
>                 URL: https://issues.apache.org/jira/browse/SOLR-14612
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>         Environment: Apache Solr 8.5.2
> Debian 9/10
>            Reporter: Daniel Ortega
>            Priority: Major
>
> This bug prevents to register custom plugins in instances which name starts 
> with "solr" using the V2 API as is described in 
> [https://lucene.apache.org/solr/guide/8_5/adding-custom-plugins-in-solrcloud-mode.html|https://lucene.apache.org/solr/guide/8_4/adding-custom-plugins-in-solrcloud-mode.html]
> As "/solr" is replaced by "/api" in 
> [https://github.com/apache/lucene-solr/blob/6eb7bc3b7bd6dea2a104448e921f7234973f0197/solr/core/src/java/org/apache/solr/pkg/PackageAPI.java#L418],
>  the solr instance hostnames can't start with "/solr" because will be 
> replaced with "/api" when the api endpoint is used.
> *i.e:* "http://solrexample.domain/solr"; will be converted to 
> "http://apiexample.domain/api"; and should be "http://solrexample.domain/api". 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to