We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16bdcd9 + cde3edc commit 9a53450Copy full SHA for 9a53450
src/Contracts/MultiMatchOptions.php
@@ -16,6 +16,7 @@ public static function make(
16
?string $fuzziness = null,
17
?string $minimumShouldMatch = null,
18
?float $boost = null,
19
+ ?string $analyzer = null,
20
): static {
21
Assert::nullOrOneOf($type, MatchType::cases());
22
Assert::nullOrOneOf($operator, ['or', 'and']);
@@ -26,6 +27,7 @@ public static function make(
26
27
'fuzziness' => $fuzziness,
28
'minimum_should_match' => $minimumShouldMatch,
29
'boost' => $boost,
30
+ 'analyzer' => $analyzer,
31
]));
32
}
33
0 commit comments