Skip to content

Commit

Permalink
Merge pull request #75 from ensi-platform/v7-mm-options
Browse files Browse the repository at this point in the history
V7 Multi Match Options Analyzer
  • Loading branch information
MsNatali authored Aug 9, 2024
2 parents 56bf4be + 922e40a commit 9aa57ee
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 9aa57ee

Please sign in to comment.