Index Global Settings
The Index component indexes the resources of a project so that a Search in
resources can be performed in IBM® AD Analyze Client, by using Search in Files
analysis.
index.indexFolder=\\\\path\\<Folder>\\Index
Note:
- Starting with IBM AD V5.1.0.3, IBM AD Search Service is responsible with the access to the indexed data. Whether the authorization/authentication feature is used or not, the folder path in which the indexes are generated needs to be accessible both for IBM AD Batch Server and IBM AD Search Service. The path where the index data is generated needs to be added in the conf.yaml file of the IBM AD Search Service, where the indexPath parameter is present.
- For the accessible path defined in the project.properties file, backslashes
must be doubled (\\) and spaces in the path must have a single backslash as a
prefix.
Examples for the index.indexFolder parameter:
-
index.indexFolder=\\\\path\\<Folder>\\Index
-
index.indexFolder=C:\\ibm\\Index
-
Important:
- The folder path in which the indexes are generated needs to be accessible both for IBM AD Batch Server and IBM AD Search Service.
- The Index location is used during the configuration process of IBM AD Search Service.
The index.encoding parameter can be used to specify the encoding
that is used to read target files. If this parameter is not configured in the
project.properties file, the default encoding is UTF-8.
You can set the value to another encoding according to IANA standards. This setting applies only to IBM AD Batch Server.
index.encoding=UTF-8
Warning: The encoding must match the one that is used in source files. For more information
about how to configure the source file encoding, see the Configuring
section.
Once the indexes are created in the default location, if there is a need to change this default folder, the following parameter should be used with value true.
Important: Starting with IBM AD V5.1.0.3, the
index.forceFolder
parameter is no longer present in the
project.properties configuration file. The IBM AD Search
Service is now responsible with the access of the
indexed data when Search in files analysis from IBM AD Analyze Client is performed. If you want to change the
index folder path you can modify the index.indexFolder parameter,
but in the same time you need to make sure that the same path is used in the
conf.yaml file of the IBM AD Search
Service, where the indexPath parameter is present.index.forceFolder=true
If a folder matches one of the patterns that are specified below, it will not be indexed.
index.exclude.folderPattern=pattern,(pattern)...
If a file matches one of the patterns that are specified below, it will not be indexed.
index.exclude.filePattern=pattern,(pattern)...