Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

  • Definition of “Facet Profile”

    Facet Profile extends Profiles with extra properties

  • Facet Profile it is an ordered list of field definitions with options (

    explain

    see below) per field definitions.

  • It is

    a category of profiles (other categories like “BASE, METADATA_TRANSATION, ADVANCE_SEARCH”

    It is used to configure front-end filters used in overview pages

    • image-20240409-071043.pngImage Removed

Technical Reference

Database details

  • facet is a list of ordered field definition, which has options per field definition

    • table: mediahaven_data.public.top_record_profiles_fields_links

      • index column is the order

      • include_missing_value columns and alike are the options

  • facet is a category of profile

    • table: mediahaven_data.public.top_record_profiles

...

    • image-20240409-071043.pngImage Added

Properties

Facets have the following options per field definition (base on /wiki/spaces/DEVELOPMENT/pages/3656679438 with newest info from database schema definition)

Option

Meaning

Sorting

'Alphabetically', 'MostFrequent', 'Enum', 'Chronologically'

IncludeMissingValue

Include the missing value (e.g. No Keywords) as facet value

IncludeActiveValues

Include values which are present as pure MUST terms in the query (e.g. +Descriptive.Keywords.Keyword:Cork)

HideWhenEmpty

Do not output the facet when there are 0 matching objects

SelectionType

The type of selection. SHOULD: at least one selected value must match. MUST: all selected values must match

DefaultNumberOfValues

The number of results that will be returned

Technical Reference for Developers

Expand
titleDatabase implementation details

Facet is a list of ordered field definition, which has options per field definition

  • table: mediahaven_data.public.top_record_profiles_fields_links

    • index column is the order

    • include_missing_value columns and alike are the options

Facet profile is one type of many profiles (ex: “advanced search” & “generic list”, “classification”)

  • table: mediahaven_data.public.top_record_profiles

    • category column shows different type of profiles