Add a deprecation warning in the type query documentation. (#34017)

This commit is contained in:
Julie Tibshirani 2018-09-24 16:30:38 -07:00 committed by GitHub
parent 6ec36b1273
commit 704d3e4c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,8 @@
[[java-query-dsl-type-query]]
==== Type Query
deprecated[7.0.0, Types are being removed, prefer filtering on a field instead. For more information, please see <<removal-of-types>>.]
See {ref}/query-dsl-type-query.html[Type Query]
["source","java",subs="attributes,callouts,macros"]

View File

@ -1,6 +1,8 @@
[[query-dsl-type-query]]
=== Type Query
deprecated[7.0.0, Types are being removed, prefer filtering on a field instead. For more information, please see <<removal-of-types>>.]
Filters documents matching the provided document / mapping type.
[source,js]