A newer version is available. For the latest information, see the
current release documentation.
PrefixQuery
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
PrefixQuery
editThe query that matches documents with fields that contain terms with a specified, not analyzed, prefix.
Properties
edit-
boost(numberasfloat) - An optional boost value to apply to the query.
-
value(string, required) - The prefix to search for.
Example
edit{
"boost" : 0.1,
"value" : "string"
}