Documentation

Configure tag boost settings

Configure tag boost settings for search

The tag.boost configuration setting controls the boost applied to tags added to content. This allows you to control how high tag values will score when they are typed as a search query, rather then selected as a search filter.

The default value for the tag boost is set to 50 on initial installation and after upgrade. This makes queries that match tags score very high and return tagged content first.

Adjust the search boost setting for tags

To select the appropriate value for boosting tags you will want to compare with your existing values for Title, Body, Summary, and other content fields that have their own boost value. This way you can adjust the value to return the desired result first (e.g. When a user enters the query "Staff resources" should pages with that in the title, or as a tag, be returned first?).

Check existing boost settings

  1. Go to the Administration panel: Advanced options section > Configuration settings page.
  2. Type "boost" into the Search config settings field to filter the settings.

    5.5Admin6179CheckBoostSettings2.png

  3. Check your current values for search boost on other fields.

Change the boost setting for tags

  1. Go to the ThoughtFarmer Administration panel: Advanced options section > Configuration settings page.
  2. Type "boost" into the Search config settings field to filter the settings.

    5.5Admin6179CheckBoostSettings2.png

  3. Look for the config setting boost.tags in the Name column.
  4. Click in the Value column to change accordingly and click Save.
  5. Go to the Administration panel: Search section > Search index page.
  6. Click the button Rebuild search index.

    5.5Admin6179ChangeBoostSetting6.png

The new settings will not affect search results until the re-index is complete. A full re-index may take up to an hour depending on the amount of content and server resources available. You can check the System logs for progress.