Open
Description
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