Configure keyword index
►System Administration> Keyword Indexes
The main Keyword Index is used in the Titles domain and in the OPAC, where the Keyword search searches several fields in the bibliographic record.
Adding and removing domains is controlled though the Attributes section.
Caution: consider carefully before altering which fields should be indexed. For systems with narrow subject coverage indexing too many fields may hinder information retrieval.
- Add and remove fields from the index
- Create and drop the index (normally required when a change has been made to the fields included)
- Run the indexing process
Remove an index value
For example, to remove the Title ISNs attribute:
- In the Keyword Indexes domain open the Main Word Index in modify mode.
- Select e.g. Title ISNs in the Attributes list.
- Remove using Delete record.
OLIB prompts if you want to remove the value.
Add an index value
- In the Keyword Indexes domain open the Main Word Index in modify mode.
- In Attributes click New.
- Click on the drop down in the Domain field. A list of available domains will be displayed.
- Choose e.g. the Title ISNs value to be added back.
- Click on the drop down in the Attribute List field to view a list of the attributes that exist in the Title ISNs domain. In this case one attribute can be added and saved back to the main Word Index record.
- Click to save the changes. The Title ISNs attribute is now included in the Main Word Index.
Add an index value from the Titles domain
For more complex domains (e.g. Titles) many of the available attributes have not been included in the index provided with the OLIB installation. You may therefore choose to add some attributes.
- In the Keyword Indexes domain open the Main Word Index in view mode.
- Click on Titles in the Attributes section.
- This takes you to the Details screen.
- In Attribute List, click the link Titles list for main word index.
- The list of attributes currently indexed will be displayed.
- To add a new attribute put this record into modify mode and click New in the Attributes section.
- Click on the drop down to show all the Attributes available for use in the Titles domain. Select the fields to be added and save the changes. Repeat for any further fields. For example the Note 1 and Note 7 fields can be selected and added to the index.
Tip: OLIB allows up to 30 free-text notes fields (each 2000 characters). These are ideal for handling data outside the scope of MARC.
Note: when you change the attributes to be indexed, the Word Index must be rebuilt before the changes will take effect for existing Titles.
Allocate variable weighting to specific fields
The system administrator can allocate a variable weighting for words in specific fields (e.g. words in the title or in subject headings may have a higher weighting). This will effect the relevance order of hits in keyword searching wherever this is used; in OLIB Web and Folio the weightings you have given to individual fields, will be taken into account.
Configure this by modifying the weight values in the attributes in the Keyword Indexes domain:
- Go to System Administration>Keyword Indexes.
- Select the Main Word Index to display the full details screen.
- In Attributes click the attribute group that includes the field you want to add a weighting for. For example, to add a weighting for the title field, click the Titles link to display the Details screen.
- Click the entry in Attributes List to display e.g. the Titles List for Main Word Index.
- In the list of Attributes, click the attribute that you want to add a weighting for, e.g. Title (title) and switch to Modify.
- Select the required value in the Section drop down. For example, to double the weighting of words in the current field, select "*2”. You can also reduce the weighting of words in a field. For example, to reduce the weighting of words in the field by half, select *.5 (* point 5).
- Save your changes.
When using breadcrumbs to go back to the main keyword index record, you will note that the values you selected are displayed in the Sections column on the right of the Attributes field.
For the changes to take effect, you need to rebuild the keyword index.
All methods of searching by keyword, in OLIB Web and Folio will then take account of the weightings you have given to individual fields.
Exclude Subject Types from the keyword index
It is possible to configure the keyword index so that subjects of a specific Subject Type can be excluded from the keyword index until they have been "authorised" by cataloguing staff. This feature is used for example to exclude OPAC Tags from the Keyword index.
- Go to System Administration> Keyword Indexes.
- Click to display details of the Main Word Index:
- In the list of Attributes, click through to the Subjects attribute.
- Switch to modify mode and, in Info. Type Filter add a comma after -_OTAG followed by a minus sign and then the key ID of the Subject Type that you wish to exclude from the keyword index by default, e.g.
-_OTAG,-BULL
- Save the changes.
- Rebuild the keyword index.
Esempio
Here, the subjects with a Subject Type of Bulletin will be excluded from the Keyword index until their Include In Keyword Index flag has been set to Yes.
Note: you can configure the index to only include Subjects of a specific Type - by specifying the Subject Type without a minus sign in front.
The cataloguer can individually authorise any Subject belonging to Subject Type Bulletin for inclusion in the Keyword index:
- Go to Cataloguing> Subject headings and search for the term.
- Switch to modify and set Include in Keyword index to Yes.
- Save the changes.
Tip: create a saved search that filters by Subject Type: One Of - Bulletin and by Include In Keyword Index: Not one of Yes/No, with Allow Null checked.