Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2630

Queries on multiple classes returning a single result generates wrong statistics

    Details

      Description

      In this particular case (single result, multiple classes), when one calls org.hibernate.search.query.hibernate.impl.AbstractLoader.load(List<EntityInfo>), it calls org.hibernate.search.query.hibernate.impl.MultiClassesQueryLoader.executeLoad(List<EntityInfo>) which in turn calls org.hibernate.search.query.hibernate.impl.AbstractLoader.load(EntityInfo).

      Problem: both load methods increment statistics, so we end up incrementing the object loading stats by 2 instead of 1.

      Test case and fix coming.

        Attachments

          Activity

            People

            • Assignee:
              yrodiere Yoann Rodière
              Reporter:
              yrodiere Yoann Rodière
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: