Fixed
Details
Assignee
Marko BekhtaMarko BekhtaReporter
Yoann RodièreYoann RodièreComponents
Fix versions
Priority
Major
Details
Details
Assignee
Marko Bekhta
Marko BekhtaReporter
Yoann Rodière
Yoann RodièreComponents
Fix versions
Priority
Created May 10, 2022 at 8:28 AM
Updated July 4, 2022 at 7:01 AM
Resolved May 19, 2022 at 2:20 PM
With Elasticsearch,
projectable = Projectable.YES
really is just ceremony, since it has no effect on the Elasticsearch mapping and only enables projections in Hibernate Search itself.While consistency between backends is a good thing, in this case we’re just adding limitations to the Elasticsearch backend for the sake of consistency, so I don’t think it’s worth it.
We should:
Define
Projectable.DEFAULT
asProjectable.YES
in ElasticsearchChange integration tests accordingly (for the Elasticsearch backend, projections will always work except when using
Projectable.NO
)Update documentation accordingly: javadoc (
SearchProjectionFactory
,Projectable.DEFAULT
, etc.) and reference documentation (projectable
+ projection DSL).