Chapter 15. Full text search 343
Y ou must restart the instance after this configuration to enable the FTS option in the Content 
Manager OnDemand Administrator. Then, you can configure the FTS options on the 
application groups and folders.
Configuring application groups for full text search
FTS support must be configured for each application group for which you plan to perform full 
text index and search. 
To FTS-index an application group, configure the application group for FTS by completing the 
following steps:
1. Click Application Group → General tab → Advanced and select Yes under Full Text 
Index. Specify the FTS Server name and port. The default port is 8191. Choose whether 
to automatically index all new loads. Figure 15-3 shows these settings. The setting Full 
Text Index documents automatically indexes new documents after they are loaded.
Figure 15-3   Enable full text indexing in an application group
2. Add an FTS field to the application group in the Field Definition tab. (Its name does not 
matter.) On the Field Information tab, set the field data type to Small Int (2) and select the 
Full Text Index attribute option.
3. Modify the permissions and add the Full Text Index permission to users and groups who 
must be able to index documents (users who load and run a full text indexing request 
through arsdoc or the API).
Configuring a folder for full text search
The Content Manager OnDemand folders must be configured before any full text searching 
can occur. Four new folder field types were added to support FTS:
/SM590000Full Text Index Search
This field is required for users to specify their FTS criteria. This field can be queried only.
/SM590000Full Text Index Score
This field is optional. It represents the score of the hit, relative to the other matching hits. It 
can be queried and displayed in the hit list.
/SM590000Full Text Index Highlight
This field is optional. It returns the text that surrounds the matching text. It represents the 
context in which the text was found. This field can be only displayed in the hit list. 
Highlighting is not supported for XML documents.
/SM590000Full Text Index Summary
This field is optional. It returns the first 80 characters of the document. This information 
might be useful, depending on the data. For example, bills and statements typically have 
identical text for headers; therefore, this information cannot be used to distinguish hits.