PrefixQuery

edit

Matches documents that have fields containing terms with a specified prefix (not analyzed).

Properties

edit
boost (number as float)
An optional boost value to apply to the query.
value (string, required)
The prefix to search for.

Example

edit
{
   "boost" : 0.1,
   "value" : "string"
}