Skip to Content
author's profile photo Former Member
Former Member

TREX Algorithms For Relevance Ranking of Results


This is my first (of many) SAP forum posts.

Back in April '05 we implemented EP 6 (including the TREX search engine). We have recently put in Service Pack 11.

Our business owners are wondering why some search results are ranked higher than others when there appears to be no logical answer from the text and meta data of the found documents. I have looked through the various and vast SAP knowledge repositories to no luck.

My questions are:

1. "What are the Algorithms For Relevance Ranking of Results in TREX searches?"; and,

2. "Where do you find the levers in the administrator tool to be able to change the weightings of search criteria?"


Bob Norton-Baker

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 12, 2005 at 10:18 AM

    Hi Bob,

    TREX ranking basically and mainly uses the TF/IDF method - "term frequency to inverse document frequency". The number of hits in a document is compared to the most frequent and most significant terms in the document, the entire result set, etc.

    A "quick search" (free text input only) will by default consider the document content, the title and, if available, the description. This behavior can be changed.

    How exactly the TF/IDF is used, is irrellevant, as you cannot influence it and as the details of the various logarithmic and other operations in ranking remain the secret of any commercial vendor of search technology. On the general principle of TF/IDF there is abundant info on the Web.

    The behavior of course changes, as soon as you include properties in your search, as these will often be "binary criteria" (hit or no hit).



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.