# Write Documents to Disk in IDX Format

To write documents to disk in IDX format, configure an `IdxWriter` processing task by setting the `Pre`, `Post`, `Update`, or `Delete` configuration parameter.

To run the `IdxWriter` task with default settings, use the `Pre`, `Post`, `Update`, or `Delete` parameter to specify the file name for the IDX file:

    [ImportTasks]
    Pre0=IdxWriter:pre.idx
    Post0=IdxWriter:post.idx

Alternatively, set the parameter to `IdxWriter`, followed by a colon (`:`), followed by the name of the section in the configuration file that contains custom settings for the task. For example:

    [ImportTasks]
    Pre0=IdxWriter:PreIDX
    Post0=IdxWriter:PostIDX

    [PreIDX]
    IdxWriterFilename=pre.idx
    IdxWriterMaxSizeKBs=100
    IdxWriterArchiveDirectory=./IDXArchive

    [PostIDX]
    IdxWriterFilename=post.idx
    IdxWriterMaxSizeKBs=100
    IdxWriterArchiveDirectory=./IDXArchive

For information about the configuration parameters you can use to configure this task, refer to the Connector Framework Server Reference.

_FT_HTML5_bannerTitle.htm