Skip to content

CAT API documents count incorrect #127354

Open
@mrklaney

Description

@mrklaney

Elasticsearch Version

8.18.0

Installed Plugins

No response

Java Version

JVM home [.../elasticsearch-8.18.0/jdk.app/Contents/Home], using bundled JDK [true]

OS Version

Darwin Marks-MacBook-Pro.local 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:39 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6020 arm64

Problem Description

The _cat API "indices" option gives an incorrect number of docs.count for indexes that have a field with data type semantic_text.

The _count and _search APIs are in agreement with what appears to be the correct document count.

Steps to Reproduce

Reindex to a dest index that has a semantic_text field, which creates embeddings.
Tested using both .elser-2-elasticsearch and .multilingual-e5-small models.

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    :SearchOrg/RelevanceLabel for the Search (solution/org) Relevance team>docsGeneral docs changesTeam:DocsMeta label for docs teamTeam:Search - RelevanceThe Search organization Search Relevance teamTeam:SearchOrgMeta label for the Search Org (Enterprise Search)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions