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.
This commit is contained in:
parent
43efcffcc2
commit
5200665295
|
@ -65,15 +65,6 @@ public class IdsQueryBuilder extends AbstractQueryBuilder<IdsQueryBuilder> {
|
||||||
// nothing to do
|
// nothing to do
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a new IdsQueryBuilder by providing the types of the documents to look for
|
|
||||||
* @deprecated Replaced by {@link #types(String...)}
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public IdsQueryBuilder(String... types) {
|
|
||||||
types(types);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read from a stream.
|
* Read from a stream.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue