[hibernate-issues] [JIRA] (HSEARCH-3842) Expose a global option to use ReindexOnUpdate.NO as a default

Fabio Massimo Ercoli (JIRA) jira at hibernate.atlassian.net
Tue Feb 25 08:59:27 EST 2020


Fabio Massimo Ercoli ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A097eae70-1c75-4c16-ab75-ab9600f8e584 ) *created* an issue

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiN2I1M2IxYjAxNTg1NDRlYTg1MDZlODJiNmRiNDYzMjIiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HSEARCH-3842?atlOrigin=eyJpIjoiN2I1M2IxYjAxNTg1NDRlYTg1MDZlODJiNmRiNDYzMjIiLCJwIjoiaiJ9 ) HSEARCH-3842 ( https://hibernate.atlassian.net/browse/HSEARCH-3842?atlOrigin=eyJpIjoiN2I1M2IxYjAxNTg1NDRlYTg1MDZlODJiNmRiNDYzMjIiLCJwIjoiaiJ9 ) Expose a global option to use ReindexOnUpdate.NO as a default ( https://hibernate.atlassian.net/browse/HSEARCH-3842?atlOrigin=eyJpIjoiN2I1M2IxYjAxNTg1NDRlYTg1MDZlODJiNmRiNDYzMjIiLCJwIjoiaiJ9 )

Issue Type: Task Affects Versions: 6.0.0.Beta5 Assignee: Unassigned Components: mapper-pojo Created: 25/Feb/2020 05:59 AM Fix Versions: 6.0.0.Beta6 Priority: Major Reporter: Fabio Massimo Ercoli ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A097eae70-1c75-4c16-ab75-ab9600f8e584 )

There are some models for which it is not possible to update an embedded entity directly. These models do not have associations but only child / parent relationship, e.g: document and key value datastores.

When Hibernate Search is used to index such models there is no need to concern about changes on the child entities that must be applied to the parent entities, since the children cannot be modified alone.

For those cases we want to expose a global property to always set `ReindexOnUpdate.NO` to all `reindexOnUpdate' as a default choice.

( https://hibernate.atlassian.net/browse/HSEARCH-3842#add-comment?atlOrigin=eyJpIjoiN2I1M2IxYjAxNTg1NDRlYTg1MDZlODJiNmRiNDYzMjIiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3842#add-comment?atlOrigin=eyJpIjoiN2I1M2IxYjAxNTg1NDRlYTg1MDZlODJiNmRiNDYzMjIiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100121- sha1:a269fed )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200225/374164d2/attachment.html 


More information about the hibernate-issues mailing list