Oihana PHP Arango

CaseFolding uses ConstantsTrait

Case-folding strategy applied by the `norm` and `text` analyzers, carried as the {@see AnalyzerField::CASE} property of the payload sent to `POST /_api/analyzer`.

Tags
example
use oihana\arango\clients\analyzer\enums\CaseFolding;

new NormAnalyzer( locale : 'fr' , case : CaseFolding::LOWER ) ; // instead of 'lower'
see
https://docs.arangodb.com/stable/index-and-search/analyzers/#text
author

Marc Alcaraz (ekameleon)

since
1.2.0

Table of Contents

Constants

LOWER  : string = 'lower'
Lower-case the input. Server default for the `norm` and `text` analyzers.
NONE  : string = 'none'
Leave the casing untouched.
UPPER  : string = 'upper'
Upper-case the input.

Constants

LOWER

Lower-case the input. Server default for the `norm` and `text` analyzers.

public string LOWER = 'lower'

NONE

Leave the casing untouched.

public string NONE = 'none'

UPPER

Upper-case the input.

public string UPPER = 'upper'
On this page

Search results