Class CloudUtil

    • Method Detail

      • unifiedResourcePath

        public static String unifiedResourcePath(SolrResourceLoader loader)
        Returns a displayable unified path to the given resource. For non-solrCloud that will be the same as getConfigDir, but for Cloud it will be getConfigSetZkPath ending in a /

        Note: Do not use this to generate a valid file path, but for debug printing etc

        loader - Resource loader instance
        a String of path to resource