# Elasticsearch 9.5.1: false-positive matches in certain boolean queries

- Provider: [Elastic Cloud](https://down.guide/providers/elastic-cloud)
- Confidence: Confirmed
- Impact: Partial outage
- lasted 6d 7h
- started 2026-08-14 09:22 UTC
- id: DWN-66daa98776
- Official page: https://stspg.io/ljs46l5tgs50

## Updates from Elastic Cloud
### 2026-08-14 09:22 UTC: identified
Elasticsearch 9.5.1 contains a known issue where boolean queries containing a must, filter, or should clause using a multi-value terms query, alongside a must\_not clause on fields with disabled indexing, can still return false-positive matches.
While the patch in 9.5.1 (https://github.com/elastic/elasticsearch/pull/155936) resolved the bulk-scorer defect for term and range query paths; multi-value terms queries utilize a different Lucene query type that was not covered by that fix.
Time Series Data Streams (TSDB) and columnar indices/data streams remain affected for this query pattern, as indexing is disabled by default on those fields.
Affected terms queries may return false-positive matches (including documents that should have been excluded) and report higher document counts than expected. No error is raised, so queries will appear to complete successfully.
What you can do:
- If you have not yet upgraded to 9.5.\*, we recommend deferring the upgrade until version 9.5.2 is available.
- If you are already running 9.5.\*, contact Elastic Support if you need help determining whether your searches are affected.
We have identified the root cause, a fix is in progress, and we are preparing a patch release. We will provide a further update when the fix is ready.

### 2026-08-20 17:09 UTC: resolved
Elasticsearch 9.5.2 has been released and contains the fix for this issue. Customers running 9.5.0 or 9.5.1 should upgrade to 9.5.2. At this time we are considering this issue resolved and will be providing no further updates.

From the builder: does your app depend on Elastic Cloud? [Sazabi](https://www.sazabi.com/?utm_source=down-guide&utm_medium=markdown&utm_content=elastic-cloud) detects problems in your own logs without hand-written monitors, and you can ask it in plain language which errors mention Elastic Cloud.

---
down.guide reads providers' official status pages every minute and adds its own evidence, always labeled. Free, no account. Agents: MCP at https://down.guide/mcp, REST at https://down.guide/api/v1, feeds at https://down.guide/feed. Built by [Sazabi](https://www.sazabi.com/?utm_source=down-guide&utm_medium=markdown&utm_content=DWN-66daa98776), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
