Message type: E = Error
Message class: ESH_ENG_CDSVAL_SRCH - ES-CDS/ABAP: Validation of domain @Search
Message number: 002
Message text: 'ranking' should be set somewhere as 'HIGH'
None of the view's elements is defined as relevant for ranking via
attribute weights, or none of the elements is defined as being of high
relevancy.
In order to yield a reasonable search result, the attribute weights have
to be defined, and at least one of them has to be set as 'high'.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Define the attribute ranking weight annotation @Search.ranking for the
elements relevant for free-style search (annotation
@Search.defaultSearchElement), with at least one of them being set as
#HIGH.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_SRCH002
- 'ranking' should be set somewhere as 'HIGH' ?The SAP error message ESH_ENG_CDSVAL_SRCH002, which indicates that 'ranking' should be set somewhere as 'HIGH', typically arises in the context of SAP's Enterprise Search or the SAP HANA database when dealing with search queries and ranking configurations.
Cause: This error usually occurs when a search query is executed, and the ranking parameter is not set correctly. The ranking parameter is essential for determining the relevance of search results. If the ranking is not set to 'HIGH', the system may not be able to process the search query effectively, leading to this error.
Solution: To resolve this error, you can take the following steps: Check Search Configuration: Go to the configuration settings for your search application (e.g., SAP Enterprise Search). Ensure that the ranking settings are correctly configured. Look for options related to ranking and set them to 'HIGH' where necessary. Adjust CDS View: If you are using Core Data Services (CDS) views, check the definition of the CDS view
Get instant SAP help. Sign up for our Free Essentials Plan.
ESH_ENG_CDSVAL_SRCH001
At least one element has to be set as 'defaultSearchElement'
What causes this issue? The view is defined as searchable by annotation @Search.searchable, but none of its elements is annotated as relevant for a f...
ESH_ENG_CDSVAL_SRCH000
CDS-domain @Search
What causes this issue? CDS: Checks on annotations of domain @SearchSystem Response The system issues an error message and will not allow you to con...
ESH_ENG_CDSVAL_SRCH003
'fuzzinessThreshold' less than &2 is questionable (&1)
What causes this issue? For a fuzzy search, the threshold has to be defined. A threshold of 1 equals an exact search, a threshold of 0 finds simply e...
ESH_ENG_CDSVAL_SRCH004
'termMappingListID' requires 'termMappingDictionary' (&1)
What causes this issue? Annotation @Search.termMappingListID is used, although there is no annotation @Search.termMappingDictionary.System Response ...
Click on this link to search all SAP messages.