Close
dtSearch Engine API for Java
IndexJob.setTempFileDir Method

Folder to use instead of the index folder for temporary files during indexing.

Syntax
Java
public void setTempFileDir(String newTempFileDir);

During indexing, the dtSearch Engine may need to create temporary files to store word lists that are too large to fit into memory. By default, these files will be placed in the index folder. Use this setting to specify a different location for the word lists. The indexer will automatically delete the word list files when the index update completes.