You can adjust the relevance of search results
to give more or less weight to results that meet a specified search
criteria.
To adjust search score relevance, use the
index data service CSN.Relevance advanced configuration setting. You
can adjust results relevance for specific objects such a reports, PowerPlay® reports, agents,
and screentips. You can also adjust results relevance for container
objects such as folders and packages. If relevance is set for a container
object, the results relevance adjustment will apply to all objects
that reference the container. For more information, see Change Index Data Service Parameters.
Procedure
- In IBM® Cognos® Connection, click Launch, IBM
Cognos Administration.
- On the Index Search tab, click Storage,
then click Advanced.
- Add the CSN.Relevance parameter
to the advanced configuration settings list and set the value to the
path for the object.
For example:
CSN.Relevance.1
= 20;/content/folder[@name='Sales_2006']/report[@name='revenue']
Note: Search paths are language-specific, so you must set separate
parameters for each language.
- Enter additional CSN.Relevance parameters
and values as required.
Note: You can add
up to 50 instances of CSN.Relevance. Each instance
must be appended with a number to distinguish it from other CSN.Relevance settings.
For example, you can use CSN.Relevance.0 to CSN.Relevance.49 to identify
each setting.
- Click Save.
Results
In the step three example, any search queries on "revenue"
that return reports from the "Sales_2006" package will have the relevance
of the search result score increased by 20 percent. If the relevance
of the search score was 45 percent prior to setting
CSN.Relevance,
the new relevance of the search results score will be 54.
To decrease
the relevance of a search results score, use a negative number. For
example, -10 would decrease the relevance of a score by 10 percent.