Table Of Contents

Properties and Structure of Job Files

Last Modified: August 28, 2020

Use job files for DataFinder and Data Preprocessor instances to index or process specific files or folders. Targeted indexing or processing may be necessary if files already exist but are still incomplete. Incomplete files can cause incorrect data or lead automatic indexing or processing to ignore a file due to an error. Job files for DataFinder and Data Preprocessor instances have an almost identical structure. The following table describes the properties of job files.

Property Description
File type Text
File extensions
  • DataFinder instance: .dfij
  • Data Preprocessor instance: .dfpj
Maximum number of lines 100
Maximum file size 100 Kb
File encoding
  • UTF-16LE
  • UTF-8 with BOM
  • ANSI

The following table describes the structure of job files.

Row Syntax Description
1 DFSEBatchIndexer/PreProcessorJobFile Identifies the file as a job file for DataFinder and Data Preprocessor instances.
2 Version 1.0 The version number must be 1.0.
3-n <Command>;"<Path>";<Parameter=Value> Defines the files and folders to be indexed or processed.
Command Description Parameter Parameter Values
IndexFile Indexes a file. Reindex
  • True - DataFinder and DataPreprocessor instances always reindex or reprocess the file (default)
  • False - DataFinder and DataPreprocessor instances index or process the file only if the file has changed or has been added since the last indexing or processing.
IndexFolder Indexes a folder. Reindex
  • True - DataFinder and DataPreprocessor instances always reindex or reprocess the folder.
  • False - DataFinder and DataPreprocessor instances index or process the folder only if files in this folder have changed or have been added since the last indexing or processing (default).
IndexFolder Indexes a folder. IncludeSubFolder
  • True - DataFinder and DataPreprocessor instances also index or process subfolders (default).
  • False - DataFinder and DataPreprocessor instances do not index or process subfolders.

Separate several parameters with commas, for example, <param1>=<value1>,<param2>=<value2>. The order of the parameters is arbitrary. If you do not specify a parameter, the DataFinder and Data Preprocessor instances use the default value of this parameter.

The following example shows the contents of a job file:

DFSEBatchIndexer
Version 1.0
IndexFile;"\\Server\TestData1\MyFile1.tdm";
IndexFile;"\\Server\TestData1\MyFile2.tdm";Reindex=True
IndexFolder;"\\Server\TestData2";Reindex=False,IncludeSubfolder=True

Recently Viewed Topics