B2B Integration 10.5 | Administering and Monitoring B2B Transactions | Integration Server Administrator's Guide | Configuring Ehcache on Integration Server | Making a Cache Searchable
 
Making a Cache Searchable
 
Defining Attributes
Integration Server uses the Ehcache search API to build indexes that you can use to look up data in a cache. You can search against predefined indexes of keys, values, or attributes extracted from values.
Some keys and values are directly searchable and can simply be added to the search index as attributes. However, you cannot search some keys or values directly. These require that you first extract the searchable attributes.
Once you make a cache searchable, you can use the pub.cache:search service to search the cache. The service returns the search result as an object array. The search results can include:
*Element keys
*Element values
*Predefined attribute values extracted from element values
*Aggregator results, which are results of aggregator functions such as Average, Count, Max, Min, and Sum.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.