IdentityAnalyzer implements AnalyzerOptions
Read onlyYes
Pass-through analyzer — emits its input verbatim, with no transformation. Useful as the default analyzer on every link and on every field that does not need language-aware normalisation.
Carries no type-specific properties (the properties wrapper is
still emitted as an empty object so the server's response shape
round-trips cleanly).
Example:
$db->createAnalyzer( 'identity_raw' , new IdentityAnalyzer() ) ;
Tags
Table of Contents
Interfaces
- AnalyzerOptions
- Common contract for every analyzer definition consumable by {@see \oihana\arango\clients\Database::createAnalyzer()} and {@see Analyzer::create()}.
Methods
- toArray() : array<string, mixed>
- Returns the `{ type, properties }` fragment of a `POST /_api/analyzer` body corresponding to this analyzer definition.
Methods
toArray()
Returns the `{ type, properties }` fragment of a `POST /_api/analyzer` body corresponding to this analyzer definition.
public
toArray() : array<string, mixed>