The QMS configuration file contains several sections, which represent different areas that you can configure. Refer to the QMS Reference for more information.
You can use the [ACIEncryption]
section to encrypt communications between ACI servers and any applications that use the ACI API. For example:
[ACIEncryption] CommsEncryptionType=GSS ServiceName=Kerberos
The [AuthorizationRoles]
defines roles that enable a particular set of actions for particular clients, SSL identities, and GSS principals. You must create a subsection for each authorization role that you define in the [AuthorizationRoles]
configuration section.
For example:
[AuthorizationRoles] 0=AdminRole 1=UserRole [AdminRole] StandardRoles=Admin,Index,ServiceControl Clients=localhost SSLIdentities=admin.example.com [UserRole] StandardRoles=Query,ServiceStatus SSLIdentities=admin.example.com,userserver.example.com
The [IDOL]
configuration section contains settings that allow QMS to contact the DAH, IDOL Server, or Content component that contains the data index. For example:
[IDOL] Host=localhost Port=9100
The [LanguageTypes]
configuration section determines the language processing settings that QMS uses.
QMS retrieves most language settings from the IDOL Content component.
To use the OutputEncoding
parameter in your query actions, you must set LanguageDirectory
. Micro Focus generally recommends that you do not override other language settings in QMS, to ensure that your components use the same language model.
If you do need to change the other language settings in QMS, you can set any parameters in the QMS configuration file that are available in the IDOL Content component [LanguageTypes]
configuration. For more information, refer to the IDOL Server Reference.
[LanguageTypes] LanguageDirectory=../common/langfiles
The [Logging]
section lists the log streams that you set up to create separate log files for different log message types (action and application). It also contains a subsection for each of the listed log streams, in which you configure the settings that determine how to log each stream. For example:
[Logging] LogDirectory=./logs LogTime=True LogEcho=True LogLevel=full
0=ACTION_LOG_STREAM 1=APP_LOG_STREAM
[ACTION_LOG_STREAM] LogFile=action.log LogTime=True LogEcho=False LogMaxSizeKBs=1024 LogTypeCSVs=query LogLevel=normal LogExpireAction=datestamp
[APP_LOG_STREAM] LogFile=app.log LogTime=True LogEcho=True LogMaxSizeKBs=1024 LogTypeCSVs=application LogLevel=full LogExpireAction=previous
The [PromotionAgentStore]
configuration section contains settings that allow QMS to contact the Promotion Agentstore component. For example:
[PromotionAgentStore] Host=localhost Port=20050
The [Server]
configuration section contains general settings for QMS. For example:
[Server] Port=16000 DefaultLanguage=ENGLISH DefaultLanguageType=GenericUTF8 AllowedQueryParams=Text,MatchResults EngineTimeout=180 MaxResultsLimit=5000
QMS obtains language settings from the Content component on startup. However, if this is not possible because of the security settings of your Content ACI port, or if you want to use sentence breaking libraries for query text processing, you can use the DefaultLanguageType
parameter in the [Server]
section of the QMS configuration file to set the default language type from within QMS itself. For more information, refer to the QMS Reference.
You can also list the languages that you use and define some generic parameters in the [LanguageTypes]
section in the QMS configuration file. For more information on how to configure language types, refer to the IDOL Server Reference.
The [Service]
configuration section contains settings that determine which machines can use and control the IDOL Server service. For example:
[Service] ServicePort=16002
The [SSLOptionN]
configuration section contains settings that allow QMS to receive SSL connections from clients. For example:
[Server] SSLConfig=SSLOptions1 ...
[SSLOptions1] //SSL options for incoming connections SSLMethod=TLSV1.2 SSLCertificate=host1.crt SSLPrivateKey=host1.key SSLCACertificate=trusted.crt
The [StatisticsServer]
configuration section contains settings that allow QMS to contact a statistics server that stores promotion and synonym statistics. For example:
[StatisticsServer] Host=localhost Port=19871
|