Skip to content

facets: incorrect counts in Author facet #926

@PascalRepond

Description

@PascalRepond

Bug description:

On a document search result page (public or pro UI), the occurence count in the facet is less and less accurate the lower you go in the list. The error margin can go up to 30%.

Example

Expected behavior:

The count should be more accurate.

Steps to Reproduce:

  1. Go to https://sonar.ch/global/search/documents?q=*&page=1&size=10&sort=relevance
  2. See that "Zhu J" (last entry in the author facet) should have 304 documents.
    image
  3. But if you click on this author, there are actually 381 documents.
    image

Version:

v1.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBreaks something but is not blockingclient requestf: searchElasticseach configuration, result page, facets

    Type

    No type

    Projects

    Status

    Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions