For example, allow to declare that one @IndexedEmbedded must not be considered when computing indexing dependencies, because it only relies on access paths that are guaranteed by the user to never change until the indexed entity is deleted. Or because changes on this indexedEmbedded are not critical and reindexing is costly, and thus is done periodically rather than on-the-fly. Note this feature is already "sort of" provided by Hibernate Search 5, since Search 5, by default, ignores dependencies between entities, and requires dependencies to be configured explicitly though the use of @ContainedIn annotations. |