Skip to content

Commit b34b22d

Browse files
committed
Update parameter docs to better match Elastic API Reference template
1 parent 5caf2b0 commit b34b22d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/reference/query-dsl/prefix-query.asciidoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ GET /_search
2626

2727
[[prefix-query-top-level-params]]
2828
==== Top-level parameters for `term`
29-
`<field>`::
30-
Field you wish to search.
29+
`<field>` (Required)::
30+
(string) Field you wish to search.
3131

3232
[[prefix-query-field-params]]
3333
==== Parameters for `<field>`
34-
`value`::
35-
Beginning characters of terms you wish to find in the provided `<field>`.
34+
`value` (Required)::
35+
(string) Beginning characters of terms you wish to find in the provided
36+
`<field>`.
3637

37-
`rewrite` (Expert)::
38-
Method used to rewrite the query. For valid values and more information, see the
39-
<<query-dsl-multi-term-rewrite, `rewrite` parameter>>. Optional.
38+
`rewrite` (Optional)::
39+
(string) Method used to rewrite the query. For valid values and more
40+
information, see the <<query-dsl-multi-term-rewrite, `rewrite` parameter>>.

0 commit comments

Comments
 (0)