org.apache.lucene.search

## Interface FilterCache

- All Known Implementing Classes:
    LRUFilterCache

  Deprecated.
  Use `QueryCache` instead

      @Deprecated
      public interface FilterCache

  A cache for filters.
  See Also:
    `LRUFilterCache`
  WARNING: This API is experimental and might change in incompatible ways in the next release.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Filter` | `doCache(Filter filter, FilterCachingPolicy policy)` Deprecated. Return a wrapper around the provided `filter` that will cache `DocIdSet`s per-segment accordingly to the given `policy`.

- - ### Method Detail

    - #### doCache

          Filter doCache(Filter filter,
                       FilterCachingPolicy policy)

      Deprecated.
      Return a wrapper around the provided `filter` that will cache `DocIdSet`s per-segment accordingly to the given `policy`.

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.