Skip to content

Commit

Permalink
Correct CRUDDocumentationIT.java
Browse files Browse the repository at this point in the history
relates to #33447
  • Loading branch information
mayya-sharipova authored and kcm committed Oct 30, 2018
1 parent 34572f0 commit 241cf40
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1564,15 +1564,15 @@ public void testTermVectors() throws Exception {

// tag::term-vectors-execute
TermVectorsResponse response = client.termvectors(request, RequestOptions.DEFAULT);
// end:::term-vectors-execute
// end::term-vectors-execute


// tag::term-vectors-response
String index = response.getIndex(); // <1>
String type = response.getType(); // <2>
String id = response.getId(); // <3>
boolean found = response.getFound(); // <4>
// end:::term-vectors-response
// end::term-vectors-response

// tag::term-vectors-term-vectors
if (response.getTermVectorsList() != null) {
Expand Down Expand Up @@ -1603,7 +1603,7 @@ public void testTermVectors() throws Exception {
}
}
}
// end:::term-vectors-term-vectors
// end::term-vectors-term-vectors

// tag::term-vectors-execute-listener
ActionListener<TermVectorsResponse> listener = new ActionListener<TermVectorsResponse>() {
Expand Down

0 comments on commit 241cf40

Please sign in to comment.