Skip to end of banner
Go to start of banner

Facet Profiles

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

  • Facet Profile extends Profiles with extra properties

  • Facet Profile it is an ordered list of field definitions with options (see below) per field definitions.

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

    • image-20240409-071043.png

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

 Database 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

  • No labels