IDOL Server 24.1

# Use the AutnRankType Field to Boost Relevance

Each document that is stored in the IDOL Content component is given an `AutnRank` value which indicates the importance of the document. By default Content ignores this value and gives all documents an `AutnRank` value of `0`.

You can boost the relevance of documents according to how important they are to you by creating a field in the documents that indicates their importance, and instructing Content to read the `AutnRank` value from this field. If two documents match a query equally well, the one that has the higher value in this field returns with a higher relevance rating.

To boost results according to their AutnRank value

1. In the `[Server]` section of the IDOL Content component configuration file, set `AutnRank` to `True`.

   This instructs Content to take the `AutnRank` value of a document into account when it calculates the relevance that the document is given if it returns as a result.

2. In the `[FieldProcessing]` section, set up a ranking process. This process allows Content to identify which field in a document contains its `AutnRank` value.

   For example:

       [FieldProcessing]
       0=SetAutnRankField

3. Create a section for the ranking process that you listed, in which you create a property for the process. Identify the field that you want to associate with the process.

   To identify the fields, use the format `/FieldName` to match root-level fields, `*/FieldName` to match all fields except root-level, or `/Path/FieldName` to match fields that the specified path points to.

   NOTE: The property that you create must not have the same name as the process.

   For example:

       [SetAutnRankField]
       Property=ReadAutnRank
       PropertyFieldCSVs=*/AUTNRANK

   In this example Content reads the `AutnRank` value of the document from its `AUTNRANK` field.

4. Create a section for the property in which you set the AutnRankType parameter to `True`.

       [ReadAutnRank]
       AutnRankType=True

5. Save and close the configuration file.

6. Restart the IDOL Content component for your changes to take effect.

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

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: IDOL Server 24.1

Topic Title: Use the AutnRankType Field to Boost Relevance