Installing the IQ Query Service
The IQ Query Service is a microservice that enables executing search queries against searchable content on your Content Delivery-based website.
- Copying resources for the IQ Query Service installation
Copy microservice resources to your target machine. - Setting a log location for your microservice
By default, Content Delivery microservices write their log files to a folder called c:/UDP/log/. Set a proper location in the Logback configuration file for your microservice, logback.xml. - Configuring the connection from the microservice to the Elasticsearch search engine
Configure the location of the Elasticsearch search engine, as well as how to access it, in a series of system properties. - Installing the IQ Query Service microservice
Run the appropriate microservice installation PowerShell or Unix script to install and run the standalone microservice. - Securing the microservice with SSL
You may wish to secure your microservice using Secure Socket Layer (SSL), so that an HTTPS connection is required to interact with the service. If you do, you require a certificate signed and issued by a Certificate Authority (CA), a private key, and a keystore containing both of these. You then configure the keystore in the application.properties file of your microservice. You can reuse the same certificate, key and keystore for multiple microservices, so long as they are all running on the same machine. This section assumes that you have no certificate, key or keystore yet. If you do, you can skip the topics that do not apply. - Connecting to an HTTPS-secured Discovery Service
If you secured your Discovery Service with HTTPS, you imported your certificate into a keystore which you passed to the Discovery Service. To connect to the Discovery Service, import the same certificate into your local Java keystore. - Registering the IQ Query Service as a Capability
If you already used theauto-registerswitch to register this Server Role as a Capability when you installed it as a standalone microservice, you can skip this task. If you did not, you can make this microservice discoverable through the Discovery Endpoint by hand by adding it as a Capability to the Discovery Service's Storage Layer configuration file and update the Capability registry by rerunning the Discovery Service registration tool.