mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-22 12:02:10 +00:00
DATAES-55 - polish test cases and remove unwanted files
This commit is contained in:
parent
3c0c942a70
commit
b6628385d9
@ -1171,10 +1171,7 @@ public class ElasticsearchTemplateTests {
|
||||
}
|
||||
|
||||
private IndexQuery getIndexQuery(SampleEntity sampleEntity) {
|
||||
IndexQuery indexQuery = new IndexQuery();
|
||||
indexQuery.setId(sampleEntity.getId());
|
||||
indexQuery.setObject(sampleEntity);
|
||||
return indexQuery;
|
||||
return new IndexQueryBuilder().withId(sampleEntity.getId()).withObject(sampleEntity).build();
|
||||
}
|
||||
|
||||
private List<IndexQuery> getIndexQueries(List<SampleEntity> sampleEntities) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user