mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
test: better fix for: 78d2311c5fd502088bd00625956326834538c785
This commit is contained in:
parent
ec4ebf31b0
commit
63261f14d4
@ -76,7 +76,7 @@ public class MatchQueryBuilderTests extends AbstractQueryTestCase<MatchQueryBuil
|
||||
matchQuery.analyzer(randomFrom("simple", "keyword", "whitespace"));
|
||||
}
|
||||
|
||||
if (randomBoolean()) {
|
||||
if (fieldName.equals(BOOLEAN_FIELD_NAME) == false && randomBoolean()) {
|
||||
matchQuery.fuzziness(randomFuzziness(fieldName));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user