数据库检索

可译的

简介

数据库检索页面(仅新Primo页面)允许用户检索或浏览开头为数字(0-9)、字母(A-Z)或其他非拉丁字符(OTHERS)的数据库。语言下拉列表允许您定义检索框下列出的链接语言。For configuration information, see General Configuration.With the expanded DB Search capability enabled, users can search by all data fields (not just the title) and categories (see Expanded DB Search).

Primo_DB_Search_Link.png

数据库检索

不同于Primo VE,Primo不对Alma中启用的数据库提供自动完善建议。

The maximum number of results per page is 20 (which is not configurable), and each result contains the following information: title, publisher, date, description, availability, and actions (such as Citation and Email).

Primo_DB_Search_Categories_Disabled.png

Database Search Results Page with Database Categories Disabled

下表描述支持数据库检索页面的通用后台设置。

配置数据库检索选项
元素 描述
   
规范化规则

出产设置中,Alma MARC模板中存在的规范化规则支持该功能。要对其他来源提供该功能,确保包含以下映射:

  • 映射数据库来源记录到Primo中的数据库资源类型。For example, the following configuration maps Alma source records, which use ECT subfield a:

    添加资源类型规则

    添加资源类型规则
  • 创建数据库的检索范围(AZDB<institution>)。

    添加检索范围规则

    添加检索范围规则
  • The following rule for the facets/atoz field creates the A-Z facet that the system uses to search via the A-Z values list.The content of the facet should be the first character of the title that is normalized via a dedicated normalization table (A-Z Characters Transformations) by using the Assign To AZ List transformation.

    Primo_AtoZ_Facet.png

    添加分面规则

视图向导 - 主菜单栏

定义显示新界面的主菜单中显示的数据库检索链接。

视图向导 - 编辑主菜单栏

视图向导 - 编辑主菜单栏

检索栏代码表

以下代码配置与数据库检索关联的显示标签:

  • default.nui.databasesearch.title: Database Search

  • default.nui.databasesearch.searchbox.helpabcChecked: Letter {0} is chosen.Presents titles starting with {0}

  • default.nui.databasesearch.searchbox.helpabc: Search titles starting with {0}

  • default.nui.databasesearch.searchbox.help: Enter database name

  • default.nui.databasesearch.searchbox.expanded – Enter a search term

查看标签代码表

以下代码配置与主菜单的数据库检索关联的显示标签:

  • default.nui.mainmenu.label.databasesearch: Database Search

  • default.nui.mainmenu.description.databasesearch: Database Search

A到Z列表代码表

定义与数据库检索检索框下显示的A-Z链接关联的标签。

扩展的数据库检索功能默认启用并扩展数据库检索到数据库类别和所有字段(例如主题和著者),不只是题名字段。

扩展的数据库检索

扩展的数据库检索

该功能默认启用,但是数据库类别检索需要额外的配置和重新索引。下表列出与该功能相关的配置选项。

配置页面 描述

Institution Properties mapping table (Primo Home > Advanced Configuration > All Mapping Tables)

扩展的数据库检索功能默认启用。If you prefer to search by title only, set the new expanded_db_search parameter to false.

Normalization Set Editor (Primo Home > Local Data > Normalization Sets)

The search/dbsearch field in the following templates allow you to map DB categories from your source records: Alma MARC - Template and Alma UNIMARC - Template.

To enable searching by DB category, you must create a normalization rule for search/dbsearch that includes the following mapping information:

  • 来源中含有数据库类型信息的MARC字段(6XX和9XX)。

  • The Use code table transformation, which maps translation information that you have defined in the DB Search code table.

例如:

Primo_NormRule_Search_DBSearch.png

DB Search code table (Primo Home > Advanced Configuration > All Code Tables)

If you want to permit searching by DB category, add additional codes and translations for any DB categories that include the following characters: dot (.), ampersand (&), and apostrophe (').For more details, see Creating Display Labels and Translations for Categories.

Search Tile code table (Primo Home > Advanced Configuration > All Code Tables)

以下代码定义启用扩展的数据库检索功能使显示在数据库检索页面的检索框中的显示标签:

default.nui.databasesearch.searchbox.expanded – Enter a search term

按类别浏览数据库

When configured (see Assigning Categories to the Database Records), the Database Search page allows users to display a list of databases by clicking specific categories and subcategories, up to three levels.

Primo_DB_Search_DB_Categories_Enabled.png

Database Search Results Page with Database Categories Enabled

数据库检索页面打开时,类别仅显示第一个类别层级。Users can select the PVE_NextLevelIcon.png icon to display the category's next level.

分配类别到数据库记录

该功能需要应用可以包含最多三个类别层级的数据库类别到本地数据库的书目记录。

要分配类别到您的本地数据库记录:
  1. In Alma, choose a local bibliographic field (for example, select any 6XX or 9XX field for MARC21) in which to store the database categories in your local bibliographic records, and then enter that field in the db_categories_field parameter on the Alma Customer Parameters page (Configuration Menu > Resources > General > Other Settings).

    管理员需要以下角色之一更新上述参数:

    • 编目管理员

    • 仓储管理员

    • 通用系统管理员

  2. For each local database, use the Metadata Editor (Resources > Cataloging > Open Metadata Editor) to add the chosen MARC field with the following subfields to assign up to three category levels: $$a (level 1), $$b (level 2), and $$c (level 3).例如:

    699 ##$aEducation $bMedical $cFitness

    699 ##$aEducation $bHealth

    如上例所示,数据库可以属于多个类别/子类别。

    If you provide translations for DB categories and plan to use the Expanded DB Search functionality (which is the default), ensure that all categories do not include a dot (.).For example, if you want to display the M.B.A. category, replace all dots with an underscore (_) in the source record.例如:

    699 ##$aM_B_A_

  3. Wait for the Creates DB Categories File job (Admin > Monitor Jobs > Scheduled tab) under the Discovery filter to update the record's categories for discovery in Primo.作业计划每日运行。For more details, see Scheduled Jobs in Alma.

  4. Edit your normalization rules set in Primo, update the facets/dbcategory rule to map the category information from the source records to Primo, and then deploy your changes to the Front End (Primo Home > Advanced Configuration > Full Normalization Rule Configuration).Note that you must include the subfield delimiter (U+2500).

    例如:

    Primo_Facets_DBCategory_2.png

    更新来自Alma MARC模板的分面/数据库类别规范化规则
  5. If you are using the Expanded DB Search functionality, update the search/dbsearch rule to map the category information from the source records to Primo, and then deploy your changes to the Front End (Primo Home > Advanced Configuration > Full Normalization Rule Configuration).For more details, see Expanded DB Search.

  6. In the Institution Wizard (Primo Home > Ongoing Configuration Wizard > Institution Wizard), enter the same value that you used for the API base URL in the new DB Category field under the Delivery Base URLs section.

    机构向导中的数据库类别基址URL

    机构向导中的数据库类别基址URL

    如果想要在视图中禁用种类,清除该字段。

  7. 运行常规管道然后重新索引以在新Primo UI的数据库检索页面上看到数据库类别。

自定义数据库检索页面的显示标签

The DB Search code table (Primo Home > Advanced Configuration > All Code Tables > Front End subsystem) defines the display labels (including all customer-defined categories) that appear on the Database Search page.出厂设置中,以下标签显示在数据库检索页面:

代码 描述

default.dbcategories.databases

数据库检索

default.dbcategories.description

要检索数据库,执行如下操作:

default.dbcategories.option1

在检索框中输入关键词。

default.dbcategories.option2

点击上面的字母。

default.dbcategories.option3

按类别浏览数据库。

default.dbcategories.results

找到数据库

default.dbcategories.title

按类别的数据库

创建类别的显示标签和翻译

In addition to the labels that appear on the Database Search page, the DB Search code table allows you to translate the display labels used for your categories.显示标签对类别显示且翻译基于从MARC子字段映射的值。要指定不同的显示值或提供类别的翻译,您必须对每种语言创建行定义:

  • Code – Specify the value of the MARC subfield that is to be mapped from the source record.确保映射的值中的每个空格转换为下划线(_)。For example, if your category is Medicine and Technology, the value of this field should be set to default.dbcategories.Medicine_and_Technology.

    如果计划使用扩展的数据库检索功能(默认):

    • Ensure that all categories defined in the source do not include a dot, and configure their codes identically in the DB Categories code table so that they are indexed properly.For example, if you want to configure M.B.A., replace all dots with an underscore (_):

      default.dbcategories.M_B_A_

    • For each DB category that contains ampersands (&) and apostrophes ('), create an additional row in the DB category that replaces these characters with their HTML character code.For example, if you are defining the categories Guns & Roses and Women's and Gender Studies, define the following codes for each:

      default.dbcategories.Guns_&_Roses

      default.dbcategories.Guns_&amp;_Roses

      default.dbcategories.Women's_and_Gender_Studies

      default.dbcategories.Women&pos;s_and_Gender_Studies

  • Description – Specify the value of the category/translation to display in the UI.For example, if you are creating the Spanish translation for Medicine and Technology, specify Medicina y Tecnología.

  • Language – Specify the browser language for which the translation displays.

类别的英语和西班牙语显示标签

类别的英语和西班牙语显示标签

如果不存在行定义,Primo显示来自MARC子字段的值。