Open topic with navigation

# Use the AutnRankType Field to Boost Relevance

Each document that is stored in IDOL Server is given an `AutnRank` value which indicates the importance of the document. By default IDOL Server 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 IDOL Server 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 configuration file, set `AutnRank` to `True`.

   This instructs IDOL Server 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 IDOL Server 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 (when identifying the field, 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 IDOL Server 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. Restart IDOL Server for your changes to take effect.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm