Class IndexSchemaFactory

    • Method Detail

      • getResourceNameToBeUsed

        public static String getResourceNameToBeUsed(String resourceName,
                                                     SolrConfig config)
        Returns the resource name that will be used: if the schema is managed, the resource name will be drawn from the schema factory configuration in the given SolrConfig. Otherwise, the given resourceName will be returned.
        resourceName - The name to use if the schema is not managed
        config - The SolrConfig from which to get the schema factory config
        If the schema is managed, the resource name from the given SolrConfig, otherwise the given resourceName.