Oihana PHP Arango

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
example
use oihana\arango\clients\analyzer\enums\StreamType;

new NgramAnalyzer( min : 3 , max : 5 , streamType : StreamType::UTF8 ) ; // instead of 'utf8'
see
https://docs.arangodb.com/stable/index-and-search/analyzers/#ngram
author

Marc Alcaraz (ekameleon)

since
1.5.0

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'
On this page

Search results