Ansicht
Dokumentation

ERC_SEARCH_HITS - BAdI: Search: Hit Lists and Ranking

ERC_SEARCH_HITS - BAdI: Search: Hit Lists and Ranking

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

The Business Add-In (BAdI) HRRCF_SEARCH_RANKING is used to group together the hits of the hit lists from different searches, thus enabling a common weighting of the hits.

The interface IF_EX_HRRCF00_SEARCH_HITS of the BAdI provides the MERGE_HIT_LISTS method (Group Together Hits from Two Searches with OR or AND). For information about the MERGE_HIT_LISTS method and its parameters, see the documentation for the interface IF_EX_HRRCF00_SEARCH_HITS.

Note

This BAdI is relevant only if you use Search and Classification (TREX) below version 7.10.18.0. As of TREX version 7.10.18.0, perform the Customizing activity BAdI: Search: Merge Hit Lists.

In the standard system, the BAdI implementation HRRCF00_SEARCH_HITS is activated. The default code is executed automatically.

In addition to grouping together the search results from searches using KPro (Knowledge Provider) and SES (Search Engine Service), the implementation also provides a ranking of the hits. When calculating the ranking values, the implementation includes the results of the different searches (SES free text search, SES attribute search, KPro search). The SES attribute search itself does not deliver any ranking values, therefore the system uses the implementation to determine the ranking values of the common hit list.

Note
To avoid any negative impact on the performance of the search, the system calculates the ranking values only for the SES attribute search; for the other searches, the system uses the ranking values provided.

Create your own BAdI implementation, if necessary.






PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2052 Date: 20240523 Time: 214838     sap01-206 ( 47 ms )