Modifying Default Expansions and Suggestions

About this task

The Testing Your Project with the New Ontolection of this tutorial showed that certain types of the alternate terms that you defined in your XML Thesaurus are automatically incorporated into queries that contain matching terms, while others must be selected before they are incorporated into your search. The types of alternate terms that are automatically or manually applied are defined on the Metasearch subtab of the Advanced project tab, as shown in Figure 1.

Figure 1. Reviewing a Project's Query Expansion Settings

The query-expansion.automatic variable identifies the types of relationships that are automatically added to any matching queries. Similarly, the query-expansion.suggestion variable identifys the types of relationships that are suggested, but which are not enabled by default (and must therefore be manually selected in order to affect your queries). As you can see from this figure:

To change the types of alternate terms that are automatically applied and those that must be manually enabled, do the following:

Procedure

  1. Redisplay the project screen for the refinement-project project, as shown in Figure 1.
  2. Click the Advanced tab
  3. Select the Metasearch sub-tab.
  4. Click edit in the upper right-hand section of this screen
  5. Scroll down until you see the Query Modification section.
  6. Click the Modified button
  7. Add or remove values from any of the query-expansion.automatic, and query-expansion.suggested variables

    Do this until you have configured how you want your queries to interact with the alternate words that are uncovered by the Watson Explorer Engine's conceptual search mechanism.

  8. Scroll back to the top of the screen
  9. Click OK to accept the new values and exit edit mode.

Results

You can now re-execute any of your queries and see that only the query-expansion.automatic... alternate words are now automatically incorporated into your queries, while only the query-expansion.suggested... alternate words are now offered as expansions that you must manually activate in order to use.