Skip to content

Repository queries using exists might not return the correct number of documents. #2300

Closed
@sothawo

Description

@sothawo

Since Elasticsearch 8.4 there is a bug in Elasticsearch (see elastic/elasticsearch#89760) which can lead to Elasticsearch not returning the correct number of hits. This will then result incorrect results returned from repository methods that use exists like for example findByNameExists().

There is nothing Spring Data Elasticsearch can do but wait for the bug in Elasticsearch to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    external-dependencyissue referring to a problem with an extenal dependencytype: bugA general bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions