[DOCS] Restructure `ids` to new query docs format
[[query-dsl-ids-query]]
=== Ids Query
+Returns documents based on their IDs. This query uses document IDs stored in
+the <<mapping-id-field,`_id`>> field.
-Filters documents that only have the provided ids. Note, this query
-uses the <<mapping-uid-field,_uid>> field.
+==== Example request
[source,js]
--------------------------------------------------
@@ -18,5 +19,10 @@ GET /_search
--------------------------------------------------
// CONSOLE
-The `type` is optional and can be omitted, and can also accept an array
-of values. If no type is specified, all types defined in the index mapping are tried.
+==== Top-level parameters for `ids`
+
+[cols="v,v",options="header"]
+|======
+|Parameter |Description
+|`values` |An array of <<mapping-id-field, document IDs>>.
+|======
