Term statistics cache settings

The term statistics cache holds some calculation data that has been obtained from across the Sybase Search distributed network. If a past query has cached term statistics data for the term “java”, for example, subsequent queries can use the information in the cache, and can avoid having to make additional network calls. Increasing the size of the cache ensures that more data is cached, minimizing the number of network and reducing overall query time.

By default, the cache.termStats.capacity setting in the Query Module’s configuration file is set to 131072. The cache is most efficient when its value is a power of 2. Since large sets of indexed documents can exceed 300,000 terms, you may want to consider increasing cache.termStats.capacity to either 262144 or 524288.

Note This term statistics cache is located on the hub container and every Document Store Manager has one term statistics cache.