parent entity not reindexed when related collection marked with @FieldBridge is changed

Description

when adding/removing instances in a related collection that is marked with @FieldBridge, the parent entity does not get reindexed.
the related collection is mapped like:

@OneToMany(mappedBy = "parentDocument", cascade = { CascadeType.ALL }, fetch = FetchType.LAZY)
@ForeignKey(name = "FK_DOCUMENT_PROPERTIES")
@Field(name = "property", index = Index.TOKENIZED, store = Store.NO)
@FieldBridge(impl = PropertySetBridge.class)
private Set<Property> properties = new HashSet<Property>();

work around is to manually trigger indexing for the entity as below:

document.removeLabel(label);
entityManager.persist(document);
getFullTextSession().index(document);

maybe the code does not see the parent entity as "dirty" ?

Environment

None

Status

Assignee

Unassigned

Reporter

koenk

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Affects versions

3.0.0.GA

Priority

Minor