Profile Cfg

Introduction

Name

profile.cfg

Location

~/conf/collection/profile/

Description

Controls profile-specific settings and defines services within a collection

Since

v15.0

Format

A text file with one key/value pair per line.

Background

Profiles can be used to support different templates, analytics and ranking behaviours within a given collection. A subset of the options controlled by collection.cfg are also available for profiles.

Settings

service.title

Sets a display title to describe the service. Note: this is not the same as the 'collection title' setting known as service_name.

service.thumbnail

Sets an image file (relative to the $SEARCH_HOME/conf/COLLECTION/PROFILE/ directory) to be shown as the service thumbnail. This may be any image file the browser is capable of rendering, and will be resized on the client. To avoid unnecessary bandwidth usage, the image should not normally be larger than 500x500px.

Example

The example profile.cfg file below will set the service title and logo for the Funnelback Commercial Website search service and source auto completion solely from this profile's auto-completion.csv file:

 service=true
 service.title=Funnelback Commercial Website
 service.thumbnail=funnelback-logo-500x500.png
 auto-completion.source=csv

See also

top