summaryrefslogtreecommitdiff
path: root/docs/reference/analysis/tokenfilters/length-tokenfilter.asciidoc
blob: 2651980966e95433bf3d09dc4880497214dfc2de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[[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`.
|===========================================================