Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNjkxNWUx...
) / New Feature (
https://hibernate.atlassian.net/browse/HSEARCH-3952?atlOrigin=eyJpIjoiNjk...
) HSEARCH-3952 (
https://hibernate.atlassian.net/browse/HSEARCH-3952?atlOrigin=eyJpIjoiNjk...
) Configurable cache update strategy for entity loading with Hibernate ORM (
https://hibernate.atlassian.net/browse/HSEARCH-3952?atlOrigin=eyJpIjoiNjk...
)
Change By: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Currently we always use the default cache update strategy when loading query results, and
that deafult strategy is {{CacheStoreMode.USE}}: put entities into the cache when they are
loaded as part of a query (but don't refresh the cache if they are already there).
I can imagine this strategy being annoying when one expects very few cache hits from
search queries.
Let's add a configuration property alongside the cache lookup strategy, to configure
how search hits are **added** to the cache. The implementation will translate directly
into the {{CacheStoreMode}} of Hibernate ORM queries.
(
https://hibernate.atlassian.net/browse/HSEARCH-3952#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3952#add-comment?atlOrigin...
)
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....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100129- sha1:3ed9692 )