[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-818) Cacheable instance filters are created multiple times before being cached
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Fri Nov 4 06:09:19 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44238#comment-44238 ]
Emmanuel Bernard commented on HSEARCH-818:
------------------------------------------
What's the status Sanne, should we fix it for the next CR?
> Cacheable instance filters are created multiple times before being cached
> -------------------------------------------------------------------------
>
> Key: HSEARCH-818
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-818
> Project: Hibernate Search
> Issue Type: Bug
> Components: engine
> Affects Versions: 3.4.0.Final
> Reporter: Sanne Grinovero
> Fix For: 4.0.0.Final
>
>
> Filters are being built during SessionFactory creation a first time, only to test creation capabilities, and then again in
> org.hibernate.search.query.engine.impl.HSQueryImpl.buildLuceneFilter(FullTextFilterImpl)
> The filter instance is created first with createFilterInstance, and only *after* being created we look it up in the cache.
> Same issue with Filter Factories, the factories are not cached.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list