Skip to content

Commit 64239c9

Browse files
committed
move tip sentence
1 parent 7f911c0 commit 64239c9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/reference/analysis/tokenfilters/limit-token-count-tokenfilter.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<titleabbrev>Limit token count</titleabbrev>
55
++++
66

7-
Limits the number of output tokens.
7+
Limits the number of output tokens. The `limit` filter is commonly used to limit
8+
the size of document field values based on token count.
89

910
By default, the `limit` filter keeps only the first token in a stream. For
1011
example, the filter can change the token stream `[ one, two, three ]` to
@@ -15,8 +16,7 @@ https://lucene.apache.org/core/{lucene_version_path}/analyzers-common/org/apache
1516

1617
[TIP]
1718
====
18-
The `limit` filter is commonly used to limit the size of document field values
19-
based on _token count_. If you want to limit the size of field values based on
19+
If you want to limit the size of field values based on
2020
_character length_, use the <<ignore-above,`ignore_above`>> mapping parameter.
2121
====
2222

0 commit comments

Comments
 (0)