Skip to content

Commit 5591b69

Browse files
committed
unify getType for analyzers
1 parent e3e07fb commit 5591b69

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Mapping/Analyzer/Custom/Lowercase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function name(): string
2525

2626
public function getType(): string
2727
{
28-
return 'lowercase';
28+
return 'custom';
2929
}
3030

3131

@@ -64,7 +64,7 @@ public function toArray(): array
6464

6565
return [
6666
$this->name() => [
67-
'type' => 'custom',
67+
'type' => $this->getType(),
6868
'tokenizer' => $this->tokenizer(),
6969
'filter' => $filterArray,
7070
],

0 commit comments

Comments
 (0)