INNER CODE UNIT · Java
setPipelines
dadoonet/spring-elasticsearch · src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchClientFactoryBean.java:330
public void setPipelines(String[] pipelines) {
this.pipelines = pipelines;
}
/**
* Classpath root for index and mapping files (default : /es)
* <p>Example :</p>
* <pre>
* {@code
* factory.setClasspathRoot("/es");
* }
* </pre>
* That means that the factory will look in es folder to find index settings.
* <br>So if you want to define settings or mappings for the twitter index, you
* should put a _settings.json file under /es/twitter/ folder.
* @param classpathRoot Classpath root for index and mapping files
*/
public void setClasspathRoot(String classpathRoot) {