INNER CODE UNIT · Java

setClasspathRoot

dadoonet/spring-elasticsearch · src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchClientFactoryBean.java:347

    public void setClasspathRoot(String classpathRoot) {
        // For compatibility reasons, we need to convert "/classpathroot" to "classpathroot"
        if (classpathRoot.startsWith("/")) {
            this.classpathRoot = classpathRoot.substring(1);
        } else {

            this.classpathRoot = classpathRoot;
        }
    }

    /**
     * Define ES nodes to communicate with.
     * Defaults to [ "https://localhost:9200" ].
     * @param esNodes A collection of nodes
     */
    public void setEsNodes(Collection<HttpHost> esNodes) {
        this.esNodes = esNodes;
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…