Docs: Fix build for java-api

The java-api docs had some broken references. Mostly because it is
difficult to build them so they are difficult to check.

Relates to #34528
This commit is contained in:
Nik Everett 2018-10-30 09:14:07 -04:00
parent 502745f8e2
commit cc4dd98872
3 changed files with 4 additions and 3 deletions

View File

@ -303,7 +303,7 @@ public class BulkProcessorIT extends ESRestHighLevelClientTestCase {
processor.add(new IndexRequest("blogs", "post_type", "1") // <2>
.source(XContentType.JSON, "title", "some title"));
}
// end::bulk-request-mix-pipeline
// end::bulk-processor-mix-parameters
latch.await();
Iterable<SearchHit> hits = searchAll(new SearchRequest("tweets").routing("routing"));

View File

@ -176,7 +176,7 @@ Global parameters can be specified on the BulkRequest as well as BulkProcessor,
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests}/BulkProcessorIT.java[bulk-processor-mix-parameters]
include-tagged::{hlrc-tests}/BulkProcessorIT.java[bulk-processor-mix-parameters]
--------------------------------------------------
<1> global parameters from the BulkRequest will be applied on a sub request
<2> local pipeline parameter on a sub request will override global parameters from BulkRequest
@ -184,7 +184,7 @@ include-tagged::{doc-tests}/BulkProcessorIT.java[bulk-processor-mix-parameters]
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests}/BulkRequestWithGlobalParametersIT.java[bulk-request-mix-pipeline]
include-tagged::{hlrc-tests}/BulkRequestWithGlobalParametersIT.java[bulk-request-mix-pipeline]
--------------------------------------------------
<1> local pipeline parameter on a sub request will override global pipeline from the BulkRequest
<2> global parameter from the BulkRequest will be applied on a sub request

View File

@ -131,6 +131,7 @@ and add it as a dependency. As an example, we will use the `slf4j-simple` logger
--------------------------------------------------
:client-tests: {docdir}/../../server/src/test/java/org/elasticsearch/client/documentation
:hlrc-tests: {docdir}/../../client/rest-high-level/src/test/java/org/elasticsearch/client
:client-reindex-tests: {docdir}/../../modules/reindex/src/test/java/org/elasticsearch/client/documentation