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

Long and Date range faceting doesn't honor hasZeroCountsIncluded

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5.2.Final
    • Fix Version/s: 5.5.3.Final, 5.6.0.Alpha1
    • Component/s: engine
    • Labels:
      None

      Description

      While playing with ElasticSearch faceting (and having tests failing due to that), I noticed that for Longs and Dates, the preexisting range faceting doesn't take into account facetRequest.hasZeroCountsIncluded().

      See
      https://github.com/hibernate/hibernate-search/blob/master/engine/src/main/java/org/hibernate/search/query/engine/impl/QueryHits.java#L308
      and a few lines below for floating point ranges which take into account this very parameter.

        Attachments

          Activity

            People

            • Assignee:
              gsmet Guillaume Smet
              Reporter:
              gsmet Guillaume Smet
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: