Skip to content

Commit 5200665

Browse files
authored
Remove deprecated IdsQueryBuilder constructor (#25529)
The constructor using `types` has been deprecated for a while now (starting with ES 5.1.). It can be removed in the next mayor version. Since types are optional they should be added with the #types() setter.
1 parent 43efcff commit 5200665

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

core/src/main/java/org/elasticsearch/index/query/IdsQueryBuilder.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,6 @@ public IdsQueryBuilder() {
6565
// nothing to do
6666
}
6767

68-
/**
69-
* Creates a new IdsQueryBuilder by providing the types of the documents to look for
70-
* @deprecated Replaced by {@link #types(String...)}
71-
*/
72-
@Deprecated
73-
public IdsQueryBuilder(String... types) {
74-
types(types);
75-
}
76-
7768
/**
7869
* Read from a stream.
7970
*/

0 commit comments

Comments
 (0)