Skip to main content
ExLibris
Ex Libris Knowledge Center

How to add an advanced search field in Resource Discovery

Overview

Default fields are available in the drop down menu, but more can be added.

clipboard_e5da76fa60f06cec921fbe0ac081eca6b

Goal

Here we shall add the dcterms:audience field to available advanced search fields in the drop-down box.

Step 1 - Locate the field in the Management module

Add field to DC Fields in Management > Common

clipboard_e7e06af5fb8487653a2f843e32269aef8

It is important to note the Silo Code, and to check “Add to Silo Harvester”

If you want the fields also to be indexed in the repository, mark "Add to Repository Index & Search"

Step 2 - Assign the field to the specific field code

Assign the field to the appropriate word indexes (field codes) in tab11_word

($user_dev/gen01/tab/tab11_word)

All fields are set by default to general word index WRD:

clipboard_ebd40948a28024ef1ec60908970328026

Use W?? structure for the new field code which must be unique. In this example WAU for audience.

Step 3 - Define the field code and name

Define the field code and name for index in $user_dev/gen01/tab/tab00.lng

clipboard_e6dad1b918f6edfbf052790de0b882d3e

tab00.lng – “ing” = language suffix, eg., English: tab00.eng

Note: Again codes must be unique!

Step 4 - Update the word index to activate the change

From Meditor services menu run manage-91

clipboard_e3821e21bd138655586bb4b47624a6efe

This may take some time to run and the library will be locked (resource discovery will be unavailable) whilst doing so.

 

Note: Harvest from scratch will also run this process.

Step 5 - Add field to advanced search field drop-down list

Add the field code (as defined in tab00.lng) and filed name as you wish it to appear to <find_codes> section in $user_dev/gen01/tab/www_r_silo_conf.xml

clipboard_e78954b184d0447a902e2f2ab43b4198a

Restart the web server (start_w in the terminal) to activate the change.