Closed CraigMiloRogers closed 11 years ago
This was intentional. We wished to support both URL and file path syntax for this variable,with file syntax being the majority case for OpenSextant. Also since the solr instance referenced is not necessarily exclusively used by OpenSextant, we wanted to be able to use the existing value of solr.home (which is file path)
MatcherFactory.config(...) checks a URL for http: and file: prefixes. If it doesn't find either, it assumes that the string provided is a local file without URL wrapping. Although this policy should be a convenience for the developer, it runs contrary to the spirit and purpose of URLs (URIs, etc.), and may lead to support problems in the long term.