Skip to content

HLRC: DRY up remaining CRUD docs#34925

Merged
nik9000 merged 6 commits intoelastic:masterfrom
nik9000:hlrest_docs_shorter_3
Oct 29, 2018
Merged

HLRC: DRY up remaining CRUD docs#34925
nik9000 merged 6 commits intoelastic:masterfrom
nik9000:hlrest_docs_shorter_3

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Oct 26, 2018

This further applies the pattern set in #34125 to reduce copy-and-paste
in the multi-document CRUD portion of the High Level REST Client docs.
It also adds line wraps to snippets that are too wide to fit into the box
when rendered in the docs, following up on the work started in #34163.

@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra

UpdateByQueryRequest request = new UpdateByQueryRequest();
request.indices("source1");

ActionListener<BulkByScrollResponse> listener;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kind of unfortunate that we have to do things like this to avoid long lines, but so be it.

Copy link
Copy Markdown
Member

@cbuescher cbuescher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nik9000 nik9000 merged commit 6fd7ea7 into elastic:master Oct 29, 2018
nik9000 added a commit that referenced this pull request Oct 29, 2018
This further applies the pattern set in #34125 to reduce copy-and-paste
in the multi-document CRUD portion of the High Level REST Client docs.
It also adds line wraps to snippets that are too wide to fit into the box
when rendered in the docs, following up on the work started in #34163.
@nik9000
Copy link
Copy Markdown
Member Author

nik9000 commented Oct 29, 2018

Thanks for reviewing @cbuescher!

kcm pushed a commit that referenced this pull request Oct 30, 2018
This further applies the pattern set in #34125 to reduce copy-and-paste
in the multi-document CRUD portion of the High Level REST Client docs.
It also adds line wraps to snippets that are too wide to fit into the box
when rendered in the docs, following up on the work started in #34163.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants