[hibernate-dev] [Search] Range faceting for Longs and Dates not taking into account hasZeroCountsIncluded
Guillaume Smet
guillaume.smet at gmail.com
Tue Feb 2 09:40:59 EST 2016
Hi,
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.
Is this something expected? Should I prepare a PR to fix it?
--
Guillaume
More information about the hibernate-dev
mailing list