#1755-Documentation-fix-to-not-show-deprecated-calls.
Original Pull Request #1756 Closes #1755
This commit is contained in:
committed by
GitHub
parent
d66f8a0650
commit
4ad002746e
@@ -40,7 +40,8 @@ public class TransportClientConfig extends ElasticsearchConfigurationSupport {
|
||||
|
||||
// ...
|
||||
|
||||
IndexRequest request = new IndexRequest("spring-data", "elasticsearch", randomID())
|
||||
IndexRequest request = new IndexRequest("spring-data")
|
||||
.id(randomID())
|
||||
.source(someObject);
|
||||
|
||||
IndexResponse response = client.index(request);
|
||||
|
||||
Reference in New Issue
Block a user