updated documentation

This commit is contained in:
Rizwan Idrees 2013-01-28 12:19:43 +00:00
parent dacf97b037
commit 1520b4deac

View File

@ -132,7 +132,7 @@ return new ElasticsearchTemplate(nodeBuilder().local(true).node().client());
@Produces
@ApplicationScoped
public ElasticsearchOperations createElasticsearchTemplate() {
return new ElasticsearchTemplate(new EmbeddedElasticsearchServerFactory("classpath:com/acme/Elasticsearch"));
return new ElasticsearchTemplate(nodeBuilder().local(true).node().client());
}
}