[DOCS] Add doc for delimited payload token filter

This commit is contained in:
Britta Weber 2013-10-13 18:43:28 +02:00
parent 719d1e0318
commit c3ab79a10e
2 changed files with 17 additions and 0 deletions

View File

@ -69,3 +69,4 @@ include::tokenfilters/common-grams-tokenfilter.asciidoc[]
include::tokenfilters/normalization-tokenfilter.asciidoc[]
include::tokenfilters/delimited-payload-tokenfilter.asciidoc[]

View File

@ -0,0 +1,16 @@
[[analysis-delimited-payload-tokenfilter]]
=== Delimited Payload Token Filter
Named `delimited_payload_filter`. Splits tokens into tokens and payload whenever a delimiter character is found.
Example: "the|1 quick|2 fox|3" is split per default int to tokens `fox`, `quick` and `the` with payloads `1`, `2` and `3` respectively.
Parameters:
`delimiter`::
Character used for splitting the tokens. Default is `|`.
`encoding`::
The type of the payload. `int` for integer, `float` for float and `identity` for characters. Default is `float`.