Faceting for the Java 8 date/time types

Description

We need to change:

  • mapping in org.hibernate.search.engine.metadata.impl.AnnotationMetadataProvider#determineFacetEncodingType

  • indexing in org.hibernate.search.engine.spi.DocumentBuilderIndexedEntity#addFacetDocValues

  • querying in org.hibernate.search.query.dsl.impl.FacetBuildingContext#allowedRangeTypes

  • and maybe more

Note that currently, support for java.util.Date is full of hacks (see org.hibernate.search.engine.spi.DocumentBuilderIndexedEntity#addFacetDocValues in particular), so instead of using the same hacks for every Java 8 Date/Time type, we may want to overhaul the faceting subsystem, and that would be better addressed in 6... To be determined.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure