Defining Attributes
When making a cache searchable, you can define the attributes to use in searches. Attributes are extracted from keys or values during searches. You can extract attributes from keys or values using the following methods:
Extract by Expression. Specify expressions based on which attributes are extracted from keys or values. For example,
key.name, value.age
Extract by Class. Provide the extractor class and optionally, the properties for the extractor class.
Keep the following points in mind when making a cache searchable:
You cannot configure a system cache to be searchable.
You cannot make a cache that already contains data searchable.
For more information about making a cache searchable, see
Creating a Cache.