Open topic with navigation
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
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.
[Server] section of the IDOL Content component configuration file, set
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.
[FieldProcessing] section, set up a ranking process. This process allows Content to identify which field in a document contains its
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.
The property that you create must not have the same name as the process.
[SetAutnRankField] Property=ReadAutnRank PropertyFieldCSVs=*/AUTNRANK
In this example Content reads the
AutnRank value of the document from its
Save and close the configuration file.
Restart the IDOL Content component for your changes to take effect.