FTI_ADD function

Use this function to add documents to the full text index.

Important: You must have a locale set in your user profile before issuing this API. See the topic titled "Defining a locale" in the IBM® Content Manager OnDemand for i Planning and Installation Guide for important details.
To query the database to determine the documents to be indexed, you can use the following parameters:
  • SQL query (-i)
  • hold name (-l)
  • text search string (-t)
  • load ID (-X)

If a duplicate attempt is made to add the same documents to be indexed, no error occurs, and ARSDOC displays a successful message. However, the system log might contain messages that indicate that the documents were already indexed.

Read syntax diagramSkip visual syntax diagramfti_add-ffolder-GapplGroup-hinstance -isqlQuery-qnamedQuery-tsearch_string-Tsearch_string-lholdname-Sstartdate,enddate,format-ppasswd-uuserid-Uuser_alias-v-XloadId-1trace_file-2level
When you use the parameter file option, you must specify the -F, -h, -p, -u, -U, -v, -1, and -2 parameters on the command line. All other parameters must be specified in the parameter file. The following diagram shows the syntax of the fti_add function when you use the parameter file option:
Read syntax diagramSkip visual syntax diagramfti_add-Fparmfile -hinstance -ppasswd-uuserid-Uuser_alias-v-1trace_file-2level
The syntax of the parameter file for the fti_add function is:
Read syntax diagramSkip visual syntax diagram[-ffolder ][-GapplGroup][-isqlQuery][-qnamedQuery][-Sstartdate,enddate,format]-XloadId