Disabling the Search for Inflected Forms

By default, M-Files sorts search results by their relevance. For more information on how document relevance in relation to the search term is determined, see Search result sorting.

This behavior can be prevented so that search results are sorted by user preference instead. Make the following changes on the M-Files Server computer to prevent search results to be automatically sorted by their relevance:

  1. In M-Files Admin, access the custom vault data section.
    1. Open M-Files Admin.
    2. In the left-side tree view, expand an M-Files server connection.
    3. Expand Document Vaults.
    4. Expand a vault.
    5. Click Configurations.
    6. In the navigation area, expand Custom Vault Data.
  2. Select Namespace Registry > Configuration.
    1. Expand the Namespaces node, click Add Namespace, and expand the newly added namespace node.
    2. In the Group field, enter an internal name of your choice for the group that uses the namespace that you are about to register.
    3. Use the Storage Type drop-down menu and select MFConfigurationValue.
    4. In the Namespace field, enter the namespace M-Files.Core.Client.Settings, and in the Namespace Label field, enter a custom label for the namespace shown in the Custom Vault Data configuration.
    5. In the Namespace Description field, enter a description about the purpose of the namespace.
    6. Click Save to save your configuration.
      Your configuration should now be similar to the example shown below:
  3. Expand Named Values and expand the Group name that you have just created.
  4. Expand the Namespace Label that you created earlier and select Configuration.
  5. Expand the Named Values node, select Add Named Value and expand the newly added named value node.
  6. Enter enter SearchBar in the Name field and the following code in the Value field:
    {
      "MFShell": {
        "SearchBar": {
          "DefaultStemmingEnabled": false
        }
      }
    }
  7. Select Save to save your configuration.
    Your configuration should now be similar to the example shown below:
The search for inflected forms is now disabled by default in the selected vault for all vault users.