[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-174) Improve transparent filter caching by wrapping filters into our own CachingWrapperFilter
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Thu Mar 20 19:08:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29850 ]
Emmanuel Bernard commented on HSEARCH-174:
------------------------------------------
ntroduce a @FullTextFilterDef.enableCachingWrapperFilter
whose value could be AUTOMATIC, TRUE, FALSE
HSearch could then use it's own implementation of CachingWrapperFilter
AUTOMATIC would use a wrapper when cache=true is used, and not use one when cache=false
This solution is my favorite so far, I think I will introduce it in 3.1
About caching key: it should be cached by "all elements" in a way. This is probably possible by storing an HashMap as a value containing all readers having their first elements as key.
> Improve transparent filter caching by wrapping filters into our own CachingWrapperFilter
> ----------------------------------------------------------------------------------------
>
> Key: HSEARCH-174
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-174
> Project: Hibernate Search
> Issue Type: Improvement
> Components: engine
> Reporter: Emmanuel Bernard
> Fix For: 3.1.0
>
>
> See http://forum.hibernate.org/viewtopic.php?t=984107&highlight=filter+cache
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list