原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/faster-prefix-queries.html, 原文档版权归 www.elastic.co 所有
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Faster prefix queries with index_prefixes
edit
The text
field has an index_prefixes
option that
indexes prefixes of all terms and is automatically leveraged by query parsers to
run prefix queries. If your use-case involves running lots of prefix queries,
this can speed up queries significantly.