Create a full text search index
Generation of a full text search index is the last step for the configuration of the full text search capability . After the first set up of the functionality, you must update the full text search index in regular intervals to take current changes into account. you can schedule generation and update of the full text search index via the Job Schedule functionality on the Alfabet user interface or via the AlfaAdministratorConsole.exe.
To generate or update a full text search index, start AlfaAdministratorConsole.exe with the following command line:
- AlfaAdministratorConsole.exe -msalias <alias name> -alfaLoginName <Alfabet user name> -alfaLoginPassword <user password> -fulltextsearchutil -SearchGroupName <SearchGroup> -Language <Language>
The table below displays the command line options:
Command Line Option | Mandatory/ Optional | Explanation |
---|---|---|
-fulltextsearchutil | Mandatory | To create or update a full text search index, start the console application with
|
-msalias <alias name> | Mandatory | Enter the alias name as specified in the AlfabetMS.xml configuration file. If a remote alias is specified, the corresponding Alfabet Server must be running. If a server alias is specified, all other Alfabet applications with access to the Alfabet database must be stopped. |
-msaliasesfile <alfabet configuration file path> | Optional | If the AlfabetMS.xml configuration file that contains the specification of the alias is not located in the same directory as the executable, the path to the AlfabetMS.xml file must be specified with this parameter. |
-alfaLoginName | Mandatory | User name for access to the Alfabet database.
A user can only execute a batch job if the Can Execute Batch Jobs checkbox is selected (=True) for the user. |
-alfaLoginPassword | Optional | Password for access to the Alfabet database. |
-searchGroupName <search group name> | Optional | Specifies the search group for which the index is created. If -searchGroupName is not set, the utility will recreate the index for all search groups.
The search group must be specified via the name as written in the XML attribute Name of the XML element SearchGroup in the XML object SearchManager. If the name contains white spaces, the name must be written in quotation marks in the command line. |
-language <locale ID> | Optional | Specifies the language for which the search index shall be created as locale ID such as 1033 for English(USA) . The search index can be created for any language for which the Support Data Translation attribute is set to True in the Alfabet culture settings. . |