Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
jpountz committed Jan 22, 2018
1 parent 1f855f8 commit 6520288
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,9 @@ public boolean updateAllTypes() {
return updateAllTypes;
}

/** See {@link #updateAllTypes()} */
/** See {@link #updateAllTypes()}
* @deprecated useless with 6.x indices which may only have one type */
@Deprecated
public CreateIndexRequest updateAllTypes(boolean updateAllTypes) {
this.updateAllTypes = updateAllTypes;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ public CreateIndexRequestBuilder setSource(XContentBuilder source) {
return this;
}

/** True if all fields that span multiple types should be updated, false otherwise */
/** True if all fields that span multiple types should be updated, false otherwise
* @deprecated useless with 6.x indices which may only have one type */
@Deprecated
public CreateIndexRequestBuilder setUpdateAllTypes(boolean updateAllTypes) {
request.updateAllTypes(updateAllTypes);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,12 @@ public boolean updateAllTypes() {
return updateAllTypes;
}

/** See {@link #updateAllTypes()} */
/**
* True if all fields that span multiple types should be updated, false otherwise.
* @deprecated useless with 6.x indices which may only have one type
* @see {@link #updateAllTypes()}
*/
@Deprecated
public PutMappingRequest updateAllTypes(boolean updateAllTypes) {
this.updateAllTypes = updateAllTypes;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ public PutMappingRequestBuilder setSource(Object... source) {
return this;
}

/** True if all fields that span multiple types should be updated, false otherwise */
/** True if all fields that span multiple types should be updated, false otherwise
* @deprecated useless with 6.x indices which may only have one type */
@Deprecated
public PutMappingRequestBuilder setUpdateAllTypes(boolean updateAllTypes) {
request.updateAllTypes(updateAllTypes);
return this;
Expand Down

0 comments on commit 6520288

Please sign in to comment.