MassIndexer freezes when there is an indexed 'id' filed, which is not document's id

Description

MassIndexer hangs (and the reason was quite difficult to figure out from logs...) when I have the following
(I simplified the actual class/interface hierarchy in this example; this should not matter I believe...):

This seems to be Hibernate Search framework issue. This may be also an issue for other Hibernate Search versions, but I do not remember which I have tried (I haven't tried the latest yet).

  • though I found a workaround/fix that works for me (using another setter/getter and index field name):

Thank you.

Environment

Mac, Linux, MySQL 5.1.x; Java 1.6, Hibernate 3.6.3.Final, hibernate-jpa-2.0-api 1.0.0.Final (entity annotations), Spring 3.0.5.RELEASE

Status

Assignee

Unassigned

Reporter

IR

Labels

Suitable for new contributors

Yes, likely

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure