[
https://issues.apache.org/jira/browse/SOLR-16911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781076#comment-17781076
]
Jason Gerlowski commented on SOLR-16911:
----------------------------------------
I was brushing up on how "hostContext" used to work for some changes I'd like
to make in SOLR-17044, and stumbled across this change. Two thoughts, a couple
months in to having this:
1. git-grep still shows a few usages of the "hostContext" string-literal still
around. The two main ones look to be in
"solr/server/contexts/solr-jetty-context.xml", and as an unused ctor param for
MiniSolrCloudCluster. I'm assuming both of these were just oversights. Happy
to remove them if you can confirm [~epugh]?
2. On 'main', we now ignore 'hostContext' but log a warning when it's present.
Wdyt about putting a similar warning in on branch_9x - we would still obey the
property for those versions, but it'd at least give users a way to notice the
deprecation a little earlier. (Personally I'm a little worried that some users
do use this feature in their deployments. Better those folks discover it
sooner when there's still time to make their case prior to 10.0, than for them
to discover it once 10 is already out the door.)
> Strip out configurable hostContext
> ----------------------------------
>
> Key: SOLR-16911
> URL: https://issues.apache.org/jira/browse/SOLR-16911
> Project: Solr
> Issue Type: Improvement
> Components: Server
> Affects Versions: main (10.0), 9.3
> Reporter: Eric Pugh
> Assignee: Eric Pugh
> Priority: Major
> Fix For: main (10.0)
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> Establish that /solr is always the hostContext, and remove the configurable
> nature. Keep the existing /api as well for V2 apis.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]