Each document that is stored in HPE IDOL Server is given an AutnRank
value which indicates the importance of the document. By default HPE 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 HPE 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.
In the [Server]
section of the configuration file, set AutnRank
to True
.
This instructs HPE 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.
In the [FieldProcessing]
section, set up a ranking process. This process allows HPE IDOL Server to identify which field in a document contains its AutnRank
value.
For example:
[FieldProcessing] 0=SetAutnRankField
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).
The property that you create must not have the same name as the process.
For example:
[SetAutnRankField] Property=ReadAutnRank PropertyFieldCSVs=*/AUTNRANK
In this example HPE IDOL Server reads the AutnRank
value of the document from its AUTNRANK
field.
Create a section for the property in which you set the AutnRankType
parameter to True
.
[ReadAutnRank] AutnRankType=True
Save and close the configuration file. Restart HPE IDOL Server for your changes to take effect.
|