cancel
Showing results for 
Search instead for 
Did you mean: 

E-Recruiting: TREX search %

Former Member
0 Kudos

Hi,

When a free text search is perfomed in E-Recruiting, there is a percentage match displayed beside each result. My client wants to know how that match % is calculated and what is the formula behind it.

Thanks,

Suresh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

To calculate the ranking and matching, SAP uses term frequency-inverse document frequency (tf-idf) weighting. The mathematical concept to do this is availbale in summary at [tf-idf|http://en.wikipedia.org/wiki/Tf-idf]. The number of hits the search query item appears in search results is compared to the most frequent and most significant terms in the results.

In E-Recruiting, this is affected by your settings in search templates, importantly table V_T77RCF_SRCH. Depending on the version of TREX you are using, the correct BAdi has to be activated, i.e. either BAdI: Search: Hit Lists and Ranking or BAdI: Search: Merge Hit Lists. To check the process flow you can also look at class CL_HRRCF_SEARCH. This inturn will call further classes like CL_COM_SE_SEARCH_IIF and CL_COM_SE_SEARCH_IIF_UTIL. The e-recruiting search results are also ranked based on the search method used as explained in [Search Results List|http://help.sap.com/erp2005_ehp_04_sp/helpdata/en/4a/5c70a9970214d2e10000000a42189b/content.htm].

Regards,

Former Member
0 Kudos

The number of documents or table rows returned for searches or the number of documents given for indexing. For instance, the query a And b has a querysize of 3

Satya

Former Member
0 Kudos

I think percentage of search depends on the indexing. you activate the document area HR_KW (Document Storage for HR Objects) to index the documents stored there. Indexing is required to enable the search engine to search the search profiles.

RECFA HIHIT is swicth which is

Specifies how high the maximum number of hits can be for all search queries. This setting overwrites the maximum number of hits specified by the user in the general search settings if it is higher than the value specified here. The default setting is 500 hits.

thanks,

Amar