Default parameters

Table C-5 describes the default configuration settings. The values in this table are used in the [Configuration] section for any job that does not have its own definition entry.

Table C-5: Default parameters

Key

Description 

DREHost

IP address where the DRE resides. To index into more than one DRE, separate the IP addresses by commas.

DreHost=localhost,120.7.0.0

QueryPort

The port number by which queries are sent to the DRE. To use more than one DRE, specify the query ports separated by commas.

QUERYPORT=2000,6000

IndexPort

The port number by which indexing commands are sent to the DRE. If this line is not present or is set to 0, then indexing is not available. To use more than one DRE, specify the index ports separated by commas.

INDEXPORT=2001,6001

PollingAction

The action to perform when polling.

  • 1 – index .idx files to a DRE (.idx files are files that are in hash form).

  • 2 – import files in various formats and index them into a DRE.

  • 7 – import files in various formats and index them into a DRE. Index .idx files to a DRE, then delete the files.

  • 8 – delete from a DRE.

PollingAction=2

PollingPostAction

The action to perform after the file has been processed. The value of this parameter can be:

  • 0 – do nothing.

  • 1 – delete the file after processing.

  • 2 – move the file to another directory. It retains the subdirectory structure.

The default value is 0.

PollingPostAction=0

When moving the originally scanned files, the subdirectory structure is retained.

Bool FileCopyKeepDirStructure(char*szRoot1, char*szFilename, char*szRoot2, char*szMode)

MoveToDirectory

Destination directory when PollingPostAction is set to 2.

MoveToDirectory=D:\projects\autoindexer\processed\

PollingMaxNumber

Maximum number of files to be processed at each poll.

PollingMaxNumber=100

The default value is 100.

FilePollFilename

File name from which the list of files to be processed is read.

FilePollFilename=queue

fileBaseDirectory

Directory path to attach to each file in FilePollFilename. Specify either the full path or only the file names inside the queue file.

BaseDirectory=c:\Files\

directoryPathCSVs

The directory where the files to be processed reside.

directoryPathCSVs=D:\projects\autoindexer\files

To process more than one directory, separate paths with commas.

DirectoryFileMatch

Specifies files using wildcards.

directoryFileMatch=*

directoryRecurse

Indicates whether to recurse into directories.

  • 1 or on – recurse.

  • 0 or off – do not recurse.

directoryRecurse=off

directoryMustHaveCSVs

Specifies the string that must appear in the directory path of a document indexed via Web Fetch.

directoryMustHaveCSVs=*/temp/*

directoryCantHaveCSVs

Specifies the string that cannot appear in the directory path of a document indexed via the Web Fetch.

directoryCantHaveCSVs=*.sys,*.bat,*.exe

directorybeforeDate

The number of days after today that the document must be modified for AutoIndexer to process them.

directoryBeforeDate=5

(5 days from today)

directoryAfterDate

The number of days before today that the document must have been modified for AutoIndexer to process them.

directoryAfterDate=-1

(yesterday)

importIDXFilesAction

Specifies what to do with idx files that have been processed.

  • 0 – delete the .idx file.

  • 1 – move the .idx file to another directory.

  • 2 – do nothing.

importIDXFilesMoveTo

If importIDXFilesAction is set to 1, this specifies where to move the .idx files.

deleteRefReplaceCSVs

If PollingAction is set to either 7 or 8, this specifies the string to be replaced in the reference when looking for the document to delete.

deleteRefReplaceWithCSVs

If PollingAction is set to either 7 or 8, this specifies the string that is to replace the string specified by deleteRefReplaceCSVs in the document reference.

ImportPathReplaceString

Specifies the string to replace the substrings of files in the queue.

deletePathReplaceUpToSlash

If PollingAction is set to either 7 or 8, this specifies a string to be replaced. You can use this to replace a portion of many strings that contain different substrings, as opposed to replacing a whole word.

If the files in the queue are C:\a\b\hello,c:\a\c\hello and c:\b\a\hello, this key replaces the portion up to the third backslash in each string:

deletePathReplaceUpToSlash=3

deleteEscapeReferences

Boolean value that when set to 1, escapes references when doing deletion. This is useful when trying to remove documents with spaces in the reference.

FilenameOutputMode

Boolean value that when set to 1, creates a file that lists all the files to be processed. This is useful if you are doing file-based processing.