I'm confused about this note. Do you have an example?
Something like that:
searchMapping.entity( Integer.class ) // We don't call .indexed(), it's just to be able to use integers in @IndexedEmbedded
.property( "doubleValue", ElementType.METHOD )
.field().name( "doubleValue" )