[[analysis-length-tokenfilter]]
=== Length Token Filter

A token filter of type `length` that removes words that are too long or
too short for the stream.

The following are settings that can be set for a `length` token filter
type:

[cols="<,<",options="header",]
|===========================================================
|Setting |Description
|`min` |The minimum number. Defaults to `0`.
|`max` |The maximum number. Defaults to `Integer.MAX_VALUE`, which is `2^31-1` or 2147483647.
|===========================================================

