mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Fixed document mistake and fit for 5.1.1 API
This commit is contained in:
parent
7141f6b554
commit
80f8dfe852
1 changed files with 2 additions and 2 deletions
|
@ -156,8 +156,8 @@ String _type = response.getType();
|
|||
String _id = response.getId();
|
||||
// Version (if it's the first time you index this document, you will get: 1)
|
||||
long _version = response.getVersion();
|
||||
// isCreated() is true if the document is a new one, false if it has been updated
|
||||
boolean created = response.isCreated();
|
||||
// status has stored current instance statement.
|
||||
RestStatus status = response.status();
|
||||
--------------------------------------------------
|
||||
|
||||
For more information on the index operation, check out the REST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue