A knowledge base consists of a set of pre-defined queries called topics that users can include as search criteria in performing a search. These knowledge bases are read-only and consist of topics indexed using a topic outline file and the mktopics utility. For information about creating a topic outline file and using the mktopics utility to index topics, see the Verity Collection Building Guide.
Knowledge Base Search Path
The order of the knowledge bases in the KBase map file determines the search path. By default, the Topic engine searches through the knowledge bases in the KBase map file in reverse order. At this time you cannot override this default search behavior. KBase Map File Syntax
A reference to the KBase map file syntax is provided below. Please note the following:
.kbm must be used for all KBase map files
$control:1 directive identifies the file as a Verity control file. The number 1 is a required argument, and it indicates the version number of the syntax contained in the file.Syntax:
kbases keyword identifies a name for the set of knowledge bases.Syntax:
kb keyword identifies the name and location of a single knowledge base to be made available. Multiple knowledge bases can be made available by making multiple kb keyword entries.Syntax:
- kb: name
- /kb_path = pathname
- # Topic Library kbases.kbm
- #
- $control: 1
- kbases:
- {
- kb: "Corporate_Information"
- /kb-path = toplib/corpinfo
- kb: "Verity_Products"
- /kb-path = toplib/verity
- kb: "Industry_and_Technology"
- /kb-path = toplib/int
- kb: "Current_Events"
- /kb-path = toplib/ceve
- }
- $$