Package org.hibernate.search.annotations
Annotation Type CacheFromIndex
While extracting values from the index might be faster than extracting
them from a Database, it might still involve costly IO operations.
Depending on the type of performed queries, it's often needed to extract
at least the entity type. Caches which aren't needed won't be used, but used
caches might take a significant amount of memory.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
FieldCacheType[] value- Returns:
- Returns a
FieldCacheenum type indicating what kind of caching we should use for index stored metadata. Defaults toFieldCache.CLASS.
- Default:
{CLASS}
-