add comment to clarify

This commit is contained in:
Loredana Crusoveanu 2018-03-19 22:06:30 +02:00
parent d70fbdc273
commit d3a12858a9
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ public class ElasticSearchIntegrationTest {
public void before() {
elasticsearchTemplate.deleteIndex(Article.class);
elasticsearchTemplate.createIndex(Article.class);
// don't call putMapping() to test the default mappings
Article article = new Article("Spring Data Elasticsearch");
article.setAuthors(asList(johnSmith, johnDoe));