Skip to content

fix(query): allow string type for minimumShouldMatch parameter#14

Merged
Spamercz merged 4 commits intomasterfrom
v2
Mar 30, 2026
Merged

fix(query): allow string type for minimumShouldMatch parameter#14
Spamercz merged 4 commits intomasterfrom
v2

Conversation

@Spamercz
Copy link
Copy Markdown
Contributor

Elasticsearch accepts string values like "75%" or "2<90%" for minimum_should_match. Changed type from int|null to int|string|null in ElasticMatch and MultiMatch.

Spamercz and others added 4 commits March 30, 2026 10:07
Elasticsearch accepts string values like "75%" or "2<90%" for minimum_should_match.
Changed type from int|null to int|string|null in ElasticMatch and MultiMatch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add missing $postFilter argument in ElasticQuery and AggregationCollection tests
- Update Nested test assertions to match new query array wrapping

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Spamercz Spamercz merged commit 38eb119 into master Mar 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant