[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-818) Cacheable instance filters are created multiple times before being cached

Sanne Grinovero (JIRA) noreply at atlassian.com
Wed Jul 27 09:27:16 EDT 2011


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


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