Query Completion in the search box

3/7/2013

SiteSeeker can give the user query suggestions right in the search field. The suggestions are based on searches made by other users, ranked by frequency and click-through rate, or by titles from indexed pages.

Limitations

When using the template search page or the SiteVision integration, the user's web browser needs to communicate directly with the SiteSeeker server. This means that port 80 must be opened from the user's network (e.g. internet or an internal network) to SiteSeeker.

Step by step

Note that it takes 24 hours before query completion is fully functioning

SiteSeeker for SiteVision

Query completion in the search box in SiteSeeker for SiteVision is implemented in the same way as for the template search page.

The SiteSeeker template search page

In order to implement query completion in the search box on a template search page you need to add css formatting and JavaScript code in the HEAD segment on the pages where you have search boxes.
Make sure you are running SiteSeeker 6 or higher. For versions 6.04 or lower, you need to use the Modular or Proxy theme. The version number can be found in the SiteSeeker Admin.

If you are using SiteSeeker 6.02:

1. Log into SiteSeeker Admin and click on search pages.
2. Check the box Query completion, then click save settings
3. Activate the settings.
4. Launch and add the JavaScript according to instructions below.
5. Wait until the next day for statistical data to be aggregated and suggestions compiled.

If you are using SiteSeeker 6.04 or higher:
1. Log into SiteSeeker Admin and click on search pages and then query completion.
2. Check the box query completion, then click save settings
3. Choose if search statistics and user behaviour or page titles should be the basis for query completion
4. Save and activate the settings.
5. Launch and add the JavaScript according to instructions below.
6. Wait until the next day for statistical data to be aggregated and suggestions compiled.

Generate and add JavaScript-code for query completion

Follow the instructions found on the page linked below to generate the JavaScript code that should be inserted into the HEAD segment of the page where the search box is.

Generate JavaScript-code for auto completion

Troubleshooting

Note that query completion is based on user data so if you have a client where few if any queries are executed, you will not receive any suggestions. Additionally, users would have to click on search results in order for suggestions to be given. Make sure that you have activated the changes in SiteSeeker Admin, and that the nightly compilation of statistics has been performed.

The users' web browsers need to be able to communicate directly with the SiteSeeker server on port 80 when using the template search page or the integration for SiteVision. This might be an issue if you are using SiteSeeker Appliance or SiteSeeker Appliance for VMware.