Query parsed to: cachingwrapperfilt
1 - 5 of 5 results (Page 1 of 1)

5.5.5 : Caching filter results

starts on page 177 under section 5.5 (Filtering a search) in chapter 5 (Advanced search techniques)

..., but QueryFilter does. Wrapping a noncaching filter with Caching- WrapperFilter takes care of caching ... , discard IndexSearcher and IndexReader and reinstantiate. Strictly speaking, CachingWrapperFilter ... and it doesn't filter. CachingWrapperFilter decorates an existing filter and caches the results ... dateFilter = new DateFilter("modified", jan1, dec31); cachingFilter = new CachingWrapperFilter ... , hits.length()); } Successive uses of the same CachingWrapperFilter instance with the same...

5.5 : Filtering a search

starts on page 171 in chapter 5 (Advanced search techniques)

... document space for a new query. CachingWrapperFilter is a decorator over another filter caching its...

6.4 : Using a custom filter

starts on page 209 in chapter 6 (Extending search)

.... Decorating SpecialsFilter with a CachingWrapperFilter frees us from that aspect....

CachingWrapperingFilter

Our keen Korean translator, Cheolgoo Kang, pointed out that we misspelled CachingWrapperFilter. There are three places in the book, easily located using our handy search engine, where we incorrectly used CachingWrappingFilter instead of the correct CachingWrapperFilter. [Permalink]

8.8 : Chaining filters

starts on page 304 in chapter 8 (Tools and extensions)

...Using a search filter, as we've discussed in section 5.5, is a powerful mechanism for selectively narrowing the document space to be searched by a query. The Sandbox contains an interesting meta-filter in the misc project, contributed by Kelvin Tan, which chains other filters together and performs AND, OR, XOR, and ANDNOT bit operations between them. ChainedFilter, like the built-in CachingWrapperFilter, isn't a concrete filter; it combines a list of filters and performs a desired bit-wise...