StreamType uses ConstantsTrait
Input encoding the `ngram` analyzer operates on, carried as the {@see AnalyzerField::STREAM_TYPE} property of the payload sent to `POST /_api/analyzer`.
Tags
Table of Contents
Constants
- BINARY : string = 'binary'
- Byte-wise input. Server default for the `ngram` analyzer.
- UTF8 : string = 'utf8'
- Codepoint-wise (UTF-8) input.
Constants
BINARY
Byte-wise input. Server default for the `ngram` analyzer.
public
string
BINARY
= 'binary'
UTF8
Codepoint-wise (UTF-8) input.
public
string
UTF8
= 'utf8'