Enable the full-text search

The full-text search for objects in the Alfabet database and the full text search on top of the Help window require a search index to be available.

For the full-text search of the online help, the following data is delivered by Alfabet BD GmbH with the Alfabet installation:

  • A folder HelpSearchIndex containing the search index for the standard Alfabet online help.

Configure the Alfabet Web Application to accept images from the help server.

For the full-text search of the online help, images in the search results are taken over directly from the Help web site. If you are implementing the full-text search for the online help, you need to add the root of the web server as allowed image source in the content security policy of the Alfabet Web Application:

  1. Go to the Config subfolder of the physical directory of the Alfabet Web Application. By default, the physical directory is the AlfabetWebApplication sub-directory of the Alfabet installation directory.
  2. Open the alfasettings.json file in a text editor.
  3. Add the help server URL to the img-src specification in the ContentSecurityPolicyValue field of the AlfabetWebConfig JSON object. If the img-src is not yet defined, it needs to be added to the field:
    • img-src 'self' https://documentation.alfabet.com data:;
    • 'ContentSecurityPolicyValue': 'img-src 'self' https://documentation.alfabet.com data:; script-src 'self' 'nonce-{nonce}'; style-src 'self' 'nonce-{nonce}'; style-src-attr 'self' 'unsafe-inline'; object-src 'none'; frame-ancestors 'self'; frame-src 'self''

Specify a search index directory

Define the objects classes and object class properties for which full text search shall be available

Add the full text search to user profiles

Schedule creation of the full text search index in regular intervals.