From cde3edc1772cb437d10fb996acf9d2f4c51bf3cd Mon Sep 17 00:00:00 2001 From: Andrey Kapitanov Date: Fri, 9 Aug 2024 12:19:27 +0300 Subject: [PATCH] V8 Multi Match Options Analyzer --- src/Contracts/MultiMatchOptions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Contracts/MultiMatchOptions.php b/src/Contracts/MultiMatchOptions.php index 46259fe..4d6e1c3 100644 --- a/src/Contracts/MultiMatchOptions.php +++ b/src/Contracts/MultiMatchOptions.php @@ -16,6 +16,7 @@ public static function make( ?string $fuzziness = null, ?string $minimumShouldMatch = null, ?float $boost = null, + ?string $analyzer = null, ): static { Assert::nullOrOneOf($type, MatchType::cases()); Assert::nullOrOneOf($operator, ['or', 'and']); @@ -26,6 +27,7 @@ public static function make( 'fuzziness' => $fuzziness, 'minimum_should_match' => $minimumShouldMatch, 'boost' => $boost, + 'analyzer' => $analyzer, ])); }