Skip to content

Commit

Permalink
V8 Multi Match Options Analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
DimionX committed Aug 9, 2024
1 parent 16bdcd9 commit cde3edc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Contracts/MultiMatchOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand All @@ -26,6 +27,7 @@ public static function make(
'fuzziness' => $fuzziness,
'minimum_should_match' => $minimumShouldMatch,
'boost' => $boost,
'analyzer' => $analyzer,
]));
}

Expand Down

0 comments on commit cde3edc

Please sign in to comment.