Skip to content

Commit 056ed9c

Browse files
committed
[codegen] update to latest spec
1 parent 5788146 commit 056ed9c

92 files changed

Lines changed: 7631 additions & 4682 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4826,17 +4826,16 @@ public final <TDocument> CompletableFuture<ScrollResponse<TDocument>> scroll(
48264826
* When paging through a large number of documents, it can be helpful to split
48274827
* the search into multiple slices to consume them independently with the
48284828
* <code>slice</code> and <code>pit</code> properties. By default the splitting
4829-
* is done first on the shards, then locally on each shard. The local splitting
4830-
* partitions the shard into contiguous ranges based on Lucene document IDs.
4829+
* is done first on the shards, then locally on each shard.
48314830
* <p>
48324831
* For instance if the number of shards is equal to 2 and you request 4 slices,
48334832
* the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are
48344833
* assigned to the second shard.
48354834
* <p>
48364835
* IMPORTANT: The same point-in-time ID should be used for all slices. If
48374836
* different PIT IDs are used, slices can overlap and miss documents. This
4838-
* situation can occur because the splitting criterion is based on Lucene
4839-
* document IDs, which are not stable across changes to the index.
4837+
* situation can occur because, by default, the splitting criterion is based on
4838+
* Lucene document IDs, which are not stable across changes to the index.
48404839
*
48414840
* @see <a href=
48424841
* "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search">Documentation
@@ -4871,17 +4870,16 @@ public <TDocument> CompletableFuture<SearchResponse<TDocument>> search(SearchReq
48714870
* When paging through a large number of documents, it can be helpful to split
48724871
* the search into multiple slices to consume them independently with the
48734872
* <code>slice</code> and <code>pit</code> properties. By default the splitting
4874-
* is done first on the shards, then locally on each shard. The local splitting
4875-
* partitions the shard into contiguous ranges based on Lucene document IDs.
4873+
* is done first on the shards, then locally on each shard.
48764874
* <p>
48774875
* For instance if the number of shards is equal to 2 and you request 4 slices,
48784876
* the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are
48794877
* assigned to the second shard.
48804878
* <p>
48814879
* IMPORTANT: The same point-in-time ID should be used for all slices. If
48824880
* different PIT IDs are used, slices can overlap and miss documents. This
4883-
* situation can occur because the splitting criterion is based on Lucene
4884-
* document IDs, which are not stable across changes to the index.
4881+
* situation can occur because, by default, the splitting criterion is based on
4882+
* Lucene document IDs, which are not stable across changes to the index.
48854883
*
48864884
* @param fn
48874885
* a function that initializes a builder to create the
@@ -4935,17 +4933,16 @@ public final CompletableFuture<SearchResponse<Void>> search(
49354933
* When paging through a large number of documents, it can be helpful to split
49364934
* the search into multiple slices to consume them independently with the
49374935
* <code>slice</code> and <code>pit</code> properties. By default the splitting
4938-
* is done first on the shards, then locally on each shard. The local splitting
4939-
* partitions the shard into contiguous ranges based on Lucene document IDs.
4936+
* is done first on the shards, then locally on each shard.
49404937
* <p>
49414938
* For instance if the number of shards is equal to 2 and you request 4 slices,
49424939
* the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are
49434940
* assigned to the second shard.
49444941
* <p>
49454942
* IMPORTANT: The same point-in-time ID should be used for all slices. If
49464943
* different PIT IDs are used, slices can overlap and miss documents. This
4947-
* situation can occur because the splitting criterion is based on Lucene
4948-
* document IDs, which are not stable across changes to the index.
4944+
* situation can occur because, by default, the splitting criterion is based on
4945+
* Lucene document IDs, which are not stable across changes to the index.
49494946
*
49504947
* @see <a href=
49514948
* "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search">Documentation
@@ -4979,17 +4976,16 @@ public <TDocument> CompletableFuture<SearchResponse<TDocument>> search(SearchReq
49794976
* When paging through a large number of documents, it can be helpful to split
49804977
* the search into multiple slices to consume them independently with the
49814978
* <code>slice</code> and <code>pit</code> properties. By default the splitting
4982-
* is done first on the shards, then locally on each shard. The local splitting
4983-
* partitions the shard into contiguous ranges based on Lucene document IDs.
4979+
* is done first on the shards, then locally on each shard.
49844980
* <p>
49854981
* For instance if the number of shards is equal to 2 and you request 4 slices,
49864982
* the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are
49874983
* assigned to the second shard.
49884984
* <p>
49894985
* IMPORTANT: The same point-in-time ID should be used for all slices. If
49904986
* different PIT IDs are used, slices can overlap and miss documents. This
4991-
* situation can occur because the splitting criterion is based on Lucene
4992-
* document IDs, which are not stable across changes to the index.
4987+
* situation can occur because, by default, the splitting criterion is based on
4988+
* Lucene document IDs, which are not stable across changes to the index.
49934989
*
49944990
* @param fn
49954991
* a function that initializes a builder to create the

java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4864,17 +4864,16 @@ public final <TDocument> ScrollResponse<TDocument> scroll(
48644864
* When paging through a large number of documents, it can be helpful to split
48654865
* the search into multiple slices to consume them independently with the
48664866
* <code>slice</code> and <code>pit</code> properties. By default the splitting
4867-
* is done first on the shards, then locally on each shard. The local splitting
4868-
* partitions the shard into contiguous ranges based on Lucene document IDs.
4867+
* is done first on the shards, then locally on each shard.
48694868
* <p>
48704869
* For instance if the number of shards is equal to 2 and you request 4 slices,
48714870
* the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are
48724871
* assigned to the second shard.
48734872
* <p>
48744873
* IMPORTANT: The same point-in-time ID should be used for all slices. If
48754874
* different PIT IDs are used, slices can overlap and miss documents. This
4876-
* situation can occur because the splitting criterion is based on Lucene
4877-
* document IDs, which are not stable across changes to the index.
4875+
* situation can occur because, by default, the splitting criterion is based on
4876+
* Lucene document IDs, which are not stable across changes to the index.
48784877
*
48794878
* @see <a href=
48804879
* "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search">Documentation
@@ -4909,17 +4908,16 @@ public <TDocument> SearchResponse<TDocument> search(SearchRequest request, Class
49094908
* When paging through a large number of documents, it can be helpful to split
49104909
* the search into multiple slices to consume them independently with the
49114910
* <code>slice</code> and <code>pit</code> properties. By default the splitting
4912-
* is done first on the shards, then locally on each shard. The local splitting
4913-
* partitions the shard into contiguous ranges based on Lucene document IDs.
4911+
* is done first on the shards, then locally on each shard.
49144912
* <p>
49154913
* For instance if the number of shards is equal to 2 and you request 4 slices,
49164914
* the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are
49174915
* assigned to the second shard.
49184916
* <p>
49194917
* IMPORTANT: The same point-in-time ID should be used for all slices. If
49204918
* different PIT IDs are used, slices can overlap and miss documents. This
4921-
* situation can occur because the splitting criterion is based on Lucene
4922-
* document IDs, which are not stable across changes to the index.
4919+
* situation can occur because, by default, the splitting criterion is based on
4920+
* Lucene document IDs, which are not stable across changes to the index.
49234921
*
49244922
* @param fn
49254923
* a function that initializes a builder to create the
@@ -4974,17 +4972,16 @@ public final SearchResponse<Void> search(Function<SearchRequest.Builder, ObjectB
49744972
* When paging through a large number of documents, it can be helpful to split
49754973
* the search into multiple slices to consume them independently with the
49764974
* <code>slice</code> and <code>pit</code> properties. By default the splitting
4977-
* is done first on the shards, then locally on each shard. The local splitting
4978-
* partitions the shard into contiguous ranges based on Lucene document IDs.
4975+
* is done first on the shards, then locally on each shard.
49794976
* <p>
49804977
* For instance if the number of shards is equal to 2 and you request 4 slices,
49814978
* the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are
49824979
* assigned to the second shard.
49834980
* <p>
49844981
* IMPORTANT: The same point-in-time ID should be used for all slices. If
49854982
* different PIT IDs are used, slices can overlap and miss documents. This
4986-
* situation can occur because the splitting criterion is based on Lucene
4987-
* document IDs, which are not stable across changes to the index.
4983+
* situation can occur because, by default, the splitting criterion is based on
4984+
* Lucene document IDs, which are not stable across changes to the index.
49884985
*
49894986
* @see <a href=
49904987
* "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search">Documentation
@@ -5019,17 +5016,16 @@ public <TDocument> SearchResponse<TDocument> search(SearchRequest request, Type
50195016
* When paging through a large number of documents, it can be helpful to split
50205017
* the search into multiple slices to consume them independently with the
50215018
* <code>slice</code> and <code>pit</code> properties. By default the splitting
5022-
* is done first on the shards, then locally on each shard. The local splitting
5023-
* partitions the shard into contiguous ranges based on Lucene document IDs.
5019+
* is done first on the shards, then locally on each shard.
50245020
* <p>
50255021
* For instance if the number of shards is equal to 2 and you request 4 slices,
50265022
* the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are
50275023
* assigned to the second shard.
50285024
* <p>
50295025
* IMPORTANT: The same point-in-time ID should be used for all slices. If
50305026
* different PIT IDs are used, slices can overlap and miss documents. This
5031-
* situation can occur because the splitting criterion is based on Lucene
5032-
* document IDs, which are not stable across changes to the index.
5027+
* situation can occur because, by default, the splitting criterion is based on
5028+
* Lucene document IDs, which are not stable across changes to the index.
50335029
*
50345030
* @param fn
50355031
* a function that initializes a builder to create the

0 commit comments

Comments
 (0)