Versions Compared

Key

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

...

  • 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 (= options per field definition)

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

...

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

...

Usage