Fixed
Details
Assignee
Yoann RodièreYoann RodièreReporter
Yoann RodièreYoann RodièreComponents
Sprint
NoneFix versions
Priority
Major
Details
Details
Assignee
Yoann Rodière
Yoann RodièreReporter
Yoann Rodière
Yoann RodièreComponents
Sprint
None
Fix versions
Priority
Created January 18, 2021 at 2:49 PM
Updated September 10, 2021 at 7:24 AM
Resolved January 22, 2021 at 2:17 PM
Three problems:
Upon calling
org.hibernate.search.mapper.pojo.work.impl.AbstractPojoTypeIndexingPlan#update(java.lang.Object, java.lang.String, java.lang.Object, java.lang.String...)
, we create the entity state even if none of the dirty paths are relevant to indexing.We store all dirty paths in
org.hibernate.search.mapper.pojo.work.impl.AbstractPojoTypeIndexingPlan.AbstractEntityState#dirtyPath
. We should only store paths relevant to indexing.Upon updates to a property that’s irrelevant for indexing, we create an indexing plan anyway. We should not.