You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the definition of MinimumMatch, along with it's haddock comment:
{-| 'MinimumMatch' controls how many should clauses in the bool query should
match. Can be an absolute value (2) or a percentage (30%) or a
combination of both.
-}
newtype MinimumMatch =
MinimumMatch Int deriving (Eq, Read, Show, Generic, ToJSON, FromJSON, Typeable)
It does not appear that we are actually able to distinguish between absolute values and percentages. Two possible solutions:
Clarify in the comments that only absolute values are accepted.
Turn MinimumMatch into a sum that gives users the choice. (breaking change)
I'm happy to do either of these.
The text was updated successfully, but these errors were encountered:
This is the definition of
MinimumMatch
, along with it's haddock comment:It does not appear that we are actually able to distinguish between absolute values and percentages. Two possible solutions:
MinimumMatch
into a sum that gives users the choice. (breaking change)I'm happy to do either of these.
The text was updated successfully, but these errors were encountered: