[hibernate-issues] [JIRA] (HSEARCH-3325) Search 6 groundwork - Restore support for full-text filters

Waldemar Kłaczyński (JIRA) jira at hibernate.atlassian.net
Mon Mar 23 18:34:23 EDT 2020


Waldemar Kłaczyński ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A77e50cac-bda3-4af4-9bb3-6461f4d10eea ) *commented* on HSEARCH-3325 ( https://hibernate.atlassian.net/browse/HSEARCH-3325?atlOrigin=eyJpIjoiZTZiNmFjYzdiMmNmNDBiN2JkYmZkMzQ0Njc1ZWE0NGYiLCJwIjoiaiJ9 )

Re: Search 6 groundwork - Restore support for full-text filters ( https://hibernate.atlassian.net/browse/HSEARCH-3325?atlOrigin=eyJpIjoiZTZiNmFjYzdiMmNmNDBiN2JkYmZkMzQ0Njc1ZWE0NGYiLCJwIjoiaiJ9 )

Indeed, it turns out to be very useful filter caches. This would have a very positive effect on the speed of executing commands. All in all it would not be difficult to implement. Even it would be possible to make L1 groats based on tens by default. And time-stable L2 caches using infinispan. You can also think about how to replicate query results between jboss server nodes. In the present case, using the cache would not be difficult. Just calculate the key based on the filter parameters and save the partial result of the query.

You can initially replicate the previous functionality. Then think if it makes sense to create two-level caches. The first level can be useful when performing similar queries in transactions or in nested transactions based on maps of small memory maps.

The second level would be to record the result of the query in a temporarily more durable cache. Of course, as is the case in hibernate, user-defined. It will probably be infinispan eventually. You can choose something lighter for testing.

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

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#100122- sha1:6f2d799 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200323/6710035b/attachment.html 


More information about the hibernate-issues mailing list