Versions Compared

Key

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

...

The spring-dspace-addon-discovery-configuration-services.xml file is located in the dspace.dir/config/spring directory.

...

Structure

Because this file is in XML format, you should be familiar with XML before editing this file. The configurations are organized together in beans, depending on what the purpose these properties are used for.

Structure

...

langxml

...

This purpose can be derived from the class of the beans. Here's a short summaries of classes you will encounter throughout the file and what the corresponding properties in the bean are used for.

class:

DiscoveryConfigurationService

Purpose:

Defines the mapping between separate Discovery configurations and individual collections/communities

Default:

All communities, collections and the homepage (key=default) are mapped to defaultConfiguration

class:

DiscoveryConfiguration

Purpose:

Groups configurations for sidebar facets, search filters, search sort options and recent submissions

Default:

There is one configuration by default called defaultConfiguration

class:

DiscoverySearchFilter

Purpose:

Defines that specific metadata fields should be enabled as a search filter

Default:

dc.title, dc.contributor.author, dc.creator, dc.subject.* and dc.date.issued are defined as search filters

class:

DiscoverySidebarFacetConfiguration

Purpose:

Defines which metadata fields should be offered as a contextual sidebar browse option

Default:

dc.contributor.author, dc.creator, dc.subject.* and dc.date.issued

class:

DiscoverySortConfiguration

Purpose:

Further specifies the sort options to which a DiscoveryConfiguration refers

Default:

dc.title and dc.date.issued are defined as alternatives for sorting, other than Relevance (hard coded)

Default user interface customization

...