fix minimum_should_match in query_string builder
This commit is contained in:
parent
c4542c8349
commit
15c798fb4c
|
@ -321,7 +321,7 @@ public class QueryStringQueryBuilder extends BaseQueryBuilder {
|
|||
builder.field("rewrite", rewrite);
|
||||
}
|
||||
if (minimumShouldMatch != null) {
|
||||
builder.field("minimum_should_write", minimumShouldMatch);
|
||||
builder.field("minimum_should_match", minimumShouldMatch);
|
||||
}
|
||||
builder.endObject();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue