mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-01 09:42:11 +00:00
#1755-Documentation-fix-to-not-show-deprecated-calls.
Original Pull Request #1756 Closes #1755
This commit is contained in:
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);
|
.source(someObject);
|
||||||
|
|
||||||
IndexResponse response = client.index(request);
|
IndexResponse response = client.index(request);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user