It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
PrefixQuery
editPrefixQuery
editThe query that matches documents with fields that contain terms with a specified, not analyzed, prefix.
Properties
edit-
boost
(number
asfloat
) - An optional boost value to apply to the query.
-
value
(string
, required) - The prefix to search for.
Example
edit{ "boost" : 0.1, "value" : "string" }