# Trim Token Filter(Trim词元过滤器)

原文链接 :[https://www.elastic.co/guide/en/elasticsearch/reference/5.4/analysis-trim-tokenfilter.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/analysis-trim-tokenfilter.html)

译文链接 : [http://www.apache.wiki/pages/viewpage.action?pageId=10028036](http://www.apache.wiki/pages/viewpage.action?pageId=10028036)

贡献者 : [李亚运](/display/~liyayun)，[ApacheCN](/display/~apachecn)，[Apache中文网](/display/~apachechina)

## 简述

`trim`过滤器将会`trim掉token`周围的空格。