Inherit @FullTextFilterDef from superclass

Description

Similar to Hibernate Core filters it should be possible to define Filters on @MappedSuperclasses.

Currently @FullTextFilterDef annotations are ignored if declared on a @MappedSuperclass class.

Activity

Sanne GrinoveroJanuary 23, 2015 at 10:26 AM

Emmanuel, right that's the same Davide proposed in his pull request. +1

Emmanuel BernardJanuary 23, 2015 at 9:52 AM

I don't think you need to consider the @MappedSuperclass metadata. Just go up to all superclasses and look for the annotation. Just make sure not to map these classes as indexed that's all.

Sanne GrinoveroJanuary 7, 2015 at 8:30 PM

Thanks for highlighting this limitation! I'm not sure if this is straight forward since the Search metadata is not strictly bound to the one from ORM but I agree this would make sense, I'll optimistically mark it for the next release.

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created December 18, 2014 at 1:43 PM
Updated October 31, 2017 at 12:33 PM
Resolved January 27, 2015 at 9:17 AM

Flag notifications