We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7141f6b commit 80f8dfeCopy full SHA for 80f8dfe
docs/java-api/docs/index_.asciidoc
@@ -156,8 +156,8 @@ String _type = response.getType();
156
String _id = response.getId();
157
// Version (if it's the first time you index this document, you will get: 1)
158
long _version = response.getVersion();
159
-// isCreated() is true if the document is a new one, false if it has been updated
160
-boolean created = response.isCreated();
+// status has stored current instance statement.
+RestStatus status = response.status();
161
--------------------------------------------------
162
163
For more information on the index operation, check out the REST
0 commit comments