Skip to content

Truncated score when using the significat terms aggregation #32770

@Blakko

Description

@Blakko

When using the significant terms aggregation with the Java High Level REST Client the returned score is truncated.
What i mean is that when querying ES via API i get the correct score eg: 0.1243235, but the same query executed via the client returns a score of 0.0.

Looking at the code it feels like here

there should be

bucket.score = parser.doubleValue();

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions