From e555ef2e86d39991091a74f8d3ffc660cf375d60 Mon Sep 17 00:00:00 2001 From: LHearen Date: Thu, 19 Sep 2019 20:20:11 +0800 Subject: [PATCH] [DOCS] make bulk page more readable (#46200) comma and semi-colon required to make it more readable --- docs/java-api/docs/bulk.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/java-api/docs/bulk.asciidoc b/docs/java-api/docs/bulk.asciidoc index 1c2882d9c07..9976ba52544 100644 --- a/docs/java-api/docs/bulk.asciidoc +++ b/docs/java-api/docs/bulk.asciidoc @@ -130,9 +130,9 @@ or bulkProcessor.close(); -------------------------------------------------- -Both methods flush any remaining documents and disable all other scheduled flushes if they were scheduled by setting -`flushInterval`. If concurrent requests were enabled the `awaitClose` method waits for up to the specified timeout for -all bulk requests to complete then returns `true`, if the specified waiting time elapses before all bulk requests complete, +Both methods flush any remaining documents and disable all other scheduled flushes, if they were scheduled by setting +`flushInterval`. If concurrent requests were enabled, the `awaitClose` method waits for up to the specified timeout for +all bulk requests to complete then returns `true`; if the specified waiting time elapses before all bulk requests complete, `false` is returned. The `close` method doesn't wait for any remaining bulk requests to complete and exits immediately. [[java-docs-bulk-processor-tests]]