Documentation Center

Configuring <QueryServer>

The <QueryServer> element specifies connection details to the Fredhopper Query Server. The Query Server processes queries (for retrieving content from Fredhopper).

Procedure

  1. Open the smarttarget_conf.xml configuration file.

    The file is used in several locations in your installation: Where to find smarttarget_conf.xml

  2. In the <QueryServer> element, define the following child elements:
    <Url>

    The address of the machine where the Fredhopper Query Server is running, or the URL of the load balancer if installed.

    The following example is for Fredhopper running on premise:
    <Url>http://fredhopper.host:8180/</Url>

    For an example of the URL for Fredhopper running in a hosted environment, see Installing Experience Optimization in the Cloud.

    <Authentication>

    Specify the <username> and <password> of the user accessing the Fredhopper Query Server running in the cloud. You can encrypt the password using the command line tool.

    <Timeouts>
    Specify the number of milliseconds Experience Optimization waits before timing out in the following situations:
    <Query>
    The maximum time to take executing a Fredhopper query before displaying fallback content in the Page Region.
    The following is an example configuration of the <QueryServer> element:
    <QueryServer>
          <Url>http://fredhopper.host:8180/</Url>
          <Authentication>
          <Username>admin</Username>
              <Password>encrypted:56StnjmsTNnHdITMkL4KYw==</Password>
          </Authentication>
          <Timeouts>
            <Query>200</Query>
         </Timeouts>
    </QueryServer>
  3. Save and close smarttarget_conf.xml.