blending.cfg is used to define the set of synonyms that apply when query blending is enabled.
blending.cfg can be created from the configuration file manager for a results page or search package. If defined for a search package all child results page will inherit the blending list. If defined at the results page this will be used in preference to a
blending.cfg defined for the search package.
blending.cfg must be used in conjunction with the
-qsup=SYNS query processor option - entries in
blending.cfg may be different from those in
A text file, beginning with a line indicating the version number of the thesaurus (currently there is only one available). Each subsequent line indicates an entire query or query term that will be expanded into a different query or query term, with the resulting query being blended with the initial one. Each line is then:
where TYPE is a character indicating the type of expansion:
+indicates a whole of query expansions
%indicates a term by term expansion
~indicates a regular expression expansion
PADRE Thesaurus Version: 2 (1) %=colour=color (2) +=Department for Administrative Affairs=DAA (3) ~=w.*the.*=green (4)
|1||This header line must be the first line of the blending.cfg file|
|2||Any occurrences of color in a query will also be queried with colour|
|3||The exact query Department for Administrative Affairs will also be blended with results for the query DAA|
|4||The query where are the documents will be blended with results for where are the documents and green|