query: prefix
The blocks in the query: prefix group of query. If you run an older core, some of them may not be available to you yet.
- value
queryv10.4.28checks if the given field starts with the given value. - search as you type
queryv15.0.0Matches documents whose field starts with the given phrase, analyzed on both sides. Use this for type-ahead: the last word is treated as a prefix and the input goes through the same analyzer as the stored text, sodemo testmatchesDEMO-Test-1. For an exact, unanalyzed prefix on a keyword field usestarts withinstead.
query Every block in this main group.