Find 25.1
Find Administration Guide

# Configure the Result Sort Order

In the Find user interface, users can choose the sort order for their search results. You can configure the options to display, and set a default sort option.

To configure the sort order

1. Go to the Find home directory.

2. Open `config.json` in a text editor.

3. Find the `search` section, or create one if it does not exist.

4. Set the `defaultSortOption` property to the name of the sort option that you want to use by default. You must define this option in the `sortOptions` object.

5. Add a `sortOptions` object to define the list of sort options that you want to make available. You can use your own name for each property in this object. Each entry must have the following properties:

   sort | The Content component sort option. This property is the value that Find sends to Content in the Sort parameter. For the available options, refer to the Content Component Help.
   label | The name to use in the Find user interface for this sort option.

       {
          "search": {
             "defaultSortOption": "bestMatch",
             "sortOptions": {
                "bestMatch": { "sort": "relevance", "label": "by relevance" },
                "newest": { "sort": "date", "label": "by date" }
             }
          }
       }

6. Restart Find to apply your configuration changes.

Copyright 2015-2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Find 25.1

Topic Title: Configure the Result Sort Order