## Uses of Class
org.hibernate.search.filter.FilterKey

- Packages that use FilterKey
  Package | Description
  --- | ---
  org.hibernate.search.filter |
  org.hibernate.search.filter.impl |

- - ### Uses of FilterKey in org.hibernate.search.filter

    Subclasses of FilterKey in org.hibernate.search.filter
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StandardFilterKey` Deprecated. Custom filter keys are deprecated and are scheduled for removal in Hibernate Search 6. As of Hibernate Search 5.1, keys for caching Lucene filters are calculated automatically based on the given filter parameters.

    Methods in org.hibernate.search.filter with parameters of type FilterKey
    Modifier and Type | Method and Description
    --- | ---
    `default void` | FilterCachingStrategy.`addCachedFilter(FilterKey key, Filter filter)` Deprecated. This method is not used by Hibernate Search anymore and will be removed in a future version. Please implement `FilterCachingStrategy.addCachedFilter(FilterKey, Query)` instead.
    `default void` | FilterCachingStrategy.`addCachedFilter(FilterKey key, Query filter)` Propose a candidate filter for caching.
    `Query` | FilterCachingStrategy.`getCachedFilter(FilterKey key)` Retrieve the cached filter for a given key or null if not cached.

  - ### Uses of FilterKey in org.hibernate.search.filter.impl

    Subclasses of FilterKey in org.hibernate.search.filter.impl
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultFilterKey` A `FilterKey` based on the name of a filter definition and the name/value pairs passed to a given instantiation of that definition.

    Methods in org.hibernate.search.filter.impl with parameters of type FilterKey
    Modifier and Type | Method and Description
    --- | ---
    `void` | MRUFilterCachingStrategy.`addCachedFilter(FilterKey key, Query filter)`
    `Query` | MRUFilterCachingStrategy.`getCachedFilter(FilterKey key)`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved