| Package | Description |
|---|---|
| org.hibernate.search.filter | |
| org.hibernate.search.filter.impl |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
FilterCachingStrategy.addCachedFilter(FilterKey key,
org.apache.lucene.search.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,
org.apache.lucene.search.Query filter)
Propose a candidate filter for caching.
|
org.apache.lucene.search.Query |
FilterCachingStrategy.getCachedFilter(FilterKey key)
Retrieve the cached filter for a given key or null if not cached.
|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
void |
MRUFilterCachingStrategy.addCachedFilter(FilterKey key,
org.apache.lucene.search.Query filter) |
org.apache.lucene.search.Query |
MRUFilterCachingStrategy.getCachedFilter(FilterKey key) |
Copyright © 2006–2017 Hibernate. All rights reserved.