Close
dtSearch Engine API for Java
IndexCache.IndexCache Constructor

Constructor for an IndexCache.

Syntax
Java
public IndexCache(int aSize);
Parameters
Description
int aSize
The maximum number of open indexes the cache can hold.

No indexes are allocated when an IndexCache is created. Instead, indexes are allocated and added to the cache as needed.