Map content field names from Hawksearch Admin page

In this article you will find:

Goal

Hawksearch connector provide the ability to map custom field names for Sitefinity content items. Following this article the Administrator can create a custom mappings for Sitefinity field names altering the search results. This article provides information on how this mapping is made from the Hawksearch Admin backend page.

Prerequisite

Installed Sitefinity connector -

Mapping default fields

The “default“ fields are all fields that are not custom and are being indexed by default from Hawksearch, e.g. title, content etc.

  1. Open Hawksearch Admin backend page - (your-site-domain/Sitefinity/Administration/hawksearchconfig)

  2. Select the content type.

     

  3. Select the field which name will be remap.

     

  4. Enter the new value for field name.

     

  5. Click the “Save Settings” button.

  6. Go to Sitefinity “Search indexes” backend page - (your-site-domain/Sitefinity/Administration/Search)

  7. Open the index that will be reindexed and in the “Advanced → Additional fields for indexing” section add the newly mapped field name. In our case “EventTitle”.

     

  8. Click the “Save changes” button.

  9. Click the action button of the index and reindex it.

Mapping custom fields

The “custom“ fields are all fields that additionaly created and are not part of the default fields.

  1. Open Hawksearch Admin backend page - (your-site-domain/Sitefinity/Administration/hawksearchconfig)

  2. Select the content type.

  3. Select the field which name will be remap.

     

  4. Enter the new value for field name.

  5. Click the “Save Settings” button.

  6. Go to Sitefinity “Search indexes” backend page - (your-site-domain/Sitefinity/Administration/Search)

  7. Open the index that will be reindexed and in the “Advanced → Additional fields for indexing” section add field name. In our case “Personal” and “Location“.

     

  8. Click the “Save changes” button.

  9. Click the action button of the index and reindex it.

  10. In the index you’ll see the fields with their newly mapped names.