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

Noble Paul commented on SOLR-8045:
----------------------------------

The tests use the {{DumpRequestHandler}} which does not automatically support 
the {{/v2}} path, so it is forced to be registered at the {{/v2}} using the 
{{registerPath}} attribute. 

bq. but it's not clear to be that the default effective value . (of 
registerPath when unspecified by a user) 

the default value of {{registerPath}} is empty. If it is empty, the framework 
asks the request handler where to deploy it. By default, all components 
register at {{/solr}} and not register at {{/v2}}. However components can 
override the {{registerV2()}} methode and return true to signal that it should 
be registered at {{/v2}}

I can effectively remove that entry from {{solrconfig.xml}} by overriding that 
method and return true.

> Deploy V2 API at /v2 instead of /solr/v2
> ----------------------------------------
>
>                 Key: SOLR-8045
>                 URL: https://issues.apache.org/jira/browse/SOLR-8045
>             Project: Solr
>          Issue Type: Wish
>            Reporter: Noble Paul
>            Assignee: Cao Manh Dat
>            Priority: Blocker
>             Fix For: 6.5
>
>         Attachments: SOLR-8045.patch, SOLR-8045.patch, SOLR-8045.patch, 
> SOLR-8045.patch, SOLR-8045.patch, SOLR-8045.patch, SOLR-8045.patch
>
>
> This does not mean that the path to access Solr will be changed. All paths 
> will remain as is and would behave exactly the same



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