Issue Details (XML | Word | Printable)

Key: HSEARCH-174
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Hardy Ferentschik
Reporter: Emmanuel Bernard
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hibernate Search

Improve transparent filter caching by wrapping filters into our own CachingWrapperFilter

Created: 20/Mar/08 06:04 PM   Updated: 10/Dec/08 07:18 AM   Resolved: 10/Jul/08 10:49 AM
Return to search
Component/s: engine
Affects Version/s: None
Fix Version/s: 3.1.0.Beta1

Time Tracking:
Not Specified

Issue Links:
Fix
 

Participants: Emmanuel Bernard and Hardy Ferentschik



Emmanuel Bernard added a comment - 20/Mar/08 06:06 PM

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.