]
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: