Configure View to Highlight Terms
You might need to add additional parameters to your configuration file to use View to highlight link terms in returned documents.
-
Open the View component configuration file in a text editor.
-
Find the
[Viewing]
section. -
Set the following parameters in the
[Viewing]
section:IDOLHost The host name where the Content component runs. IDOLPort The value of the ACI port for this Content component. IDOLTimeout The amount of time (in seconds) that View waits for a response from the Content component. These parameters determine where View sends
Highlight
actions. You must configure these parameters if you use View in a stand-alone configuration. If you use a unified configuration, View uses the internal Content component by default, but you can configure these parameters if you want to use a different Content component.For information on using stand-alone components, refer to the Knowledge Discovery Getting Started Guide.
-
Set HighlightChunkSize to the maximum size (in bytes) of the chunks that View splits text into before highlighting. Enter
–1
for an unlimited chunk size. -
Set DefaultLanguageType to the language type that View uses for the link terms when highlighting. This parameter ensures that the Content component stems the terms correctly when highlighting. You can override this parameter by using the
LanguageType
parameter in theView
action. See Highlight Expressions in Different Languages. -
Set DefaultStartTag and DefaultEndTag to the default opening and closing HTML tags to use to highlight link terms.
-
Save and close the configuration file.
-
Restart the View component for your changes to take effect.