|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<FilterCacheModeType> org.hibernate.search.annotations.FilterCacheModeType
public enum FilterCacheModeType
Cache mode strategy for FullTextFilterDef
s.
FullTextFilterDef
Enum Constant Summary | |
---|---|
INSTANCE_AND_DOCIDSETRESULTS
Both the filter instance and the DocIdSet results are cached. |
|
INSTANCE_ONLY
The filter instance is cached by Hibernate Search and reused across concurrent Filter.getDocIdSet() calls. |
|
NONE
No filter instance and no result is cached by Hibernate Search. |
Method Summary | |
---|---|
static FilterCacheModeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FilterCacheModeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FilterCacheModeType NONE
public static final FilterCacheModeType INSTANCE_ONLY
Filter.getDocIdSet()
calls.
Results are not cached by Hibernate Search.
Filter.bits(org.apache.lucene.index.IndexReader)
public static final FilterCacheModeType INSTANCE_AND_DOCIDSETRESULTS
DocIdSet
results are cached.
The filter instance is cached by Hibernate Search and reused across
concurrent Filter.getDocIdSet()
calls.
DocIdSet
results are cached per IndexReader
.
Filter.bits(org.apache.lucene.index.IndexReader)
Method Detail |
---|
public static FilterCacheModeType[] values()
for (FilterCacheModeType c : FilterCacheModeType.values()) System.out.println(c);
public static FilterCacheModeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |