[hibernate-dev] [Search] Range faceting for Longs and Dates not taking into account hasZeroCountsIncluded

Emmanuel Bernard emmanuel at hibernate.org
Wed Feb 3 03:15:31 EST 2016


It's probably a bug, Hardy, you confirm?

On Tue 2016-02-02 15:40, Guillaume Smet wrote:
> 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
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list