Index non-mapped field with @Transient

Description

Hello,

In previous version HS 5.X i was able to index non-mapped field but with the alpha 7 it's not working anymore :

Here the exemple :

1 2 3 4 5 @Transient @GenericField(name="myCalculatedField") public String getMyCalculatedField() { return "xxxxxx"; }

Here the exception :

1 2 3 4 5 6 Caused by: org.hibernate.search.util.common.SearchException: HSEARCH000520: Hibernate Search bootstrap failed. Failures: Hibernate ORM mapping: type 'com.xxxx.xxxx: failures: - HSEARCH800007: Path 'PojoModelPathPropertyNode[.myCalculatedField]' on entity type 'class com.xxxx.xxxx' cannot be resolved using Hibernate ORM metadata. Please check that this path

is there any way with the new version to do that ?

Environment

None

Status

Assignee

Unassigned

Reporter

Alexis CUCUMEL

Suitable for new contributors

Yes, likely

Pull Request

None

Feedback Requested

None

Affects versions

6.0.0.Alpha7

Priority

Major