原文地址: https://www.elastic.co/guide/en/elasticsearch/guide/current/standard-analyzer.html, 版权归 www.elastic.co 所有
WARNING: The 2.x versions of Elasticsearch have passed their EOL dates. If you are running a 2.x version, we strongly advise you to upgrade.
This documentation is no longer maintained and may be removed. For the latest information, see the current Elasticsearch documentation.
standard Analyzeredit
The standard
analyzer is used by default for any full-text analyzed
string
field. If we were to reimplement the standard
analyzer as a
custom
analyzer, it would be defined as follows:
{ "type": "custom", "tokenizer": "standard", "filter": [ "lowercase", "stop" ] }
In Normalizing Tokens and Stopwords: Performance Versus Precision, we talk about the
lowercase
, and stop
token filters, but for the moment, let’s focus on
the standard
tokenizer.