public enum FilterCacheModeType extends Enum<FilterCacheModeType>
FullTextFilterDefs.FullTextFilterDef| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static FilterCacheModeType |
valueOf(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.
|
public static final FilterCacheModeType NONE
public static final FilterCacheModeType INSTANCE_ONLY
Filter.getDocIdSet() calls.
Results are not cached by Hibernate Search.Filter.getDocIdSet(org.apache.lucene.index.LeafReaderContext, org.apache.lucene.util.Bits)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.getDocIdSet(org.apache.lucene.index.LeafReaderContext, org.apache.lucene.util.Bits)public static FilterCacheModeType[] values()
for (FilterCacheModeType c : FilterCacheModeType.values()) System.out.println(c);
public static FilterCacheModeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2006–2016 Hibernate. All rights reserved.