Merge pull request #3855 from eugenp/issues-883

add comment to clarify
This commit is contained in:
Loredana Crusoveanu 2018-03-19 23:02:12 +02:00 committed by GitHub
commit 67358e8efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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));