Skip to content

Commit cde3edc

Browse files
committed
V8 Multi Match Options Analyzer
1 parent 16bdcd9 commit cde3edc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Contracts/MultiMatchOptions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public static function make(
1616
?string $fuzziness = null,
1717
?string $minimumShouldMatch = null,
1818
?float $boost = null,
19+
?string $analyzer = null,
1920
): static {
2021
Assert::nullOrOneOf($type, MatchType::cases());
2122
Assert::nullOrOneOf($operator, ['or', 'and']);
@@ -26,6 +27,7 @@ public static function make(
2627
'fuzziness' => $fuzziness,
2728
'minimum_should_match' => $minimumShouldMatch,
2829
'boost' => $boost,
30+
'analyzer' => $analyzer,
2931
]));
3032
}
3133

0 commit comments

Comments
 (0)