Do you have any question about this error?
Message type: E = Error
Message class: ESH_ENG_CDSVAL_SRCH - ES-CDS/ABAP: Validation of domain @Search
Message number: 027
Message text: 'fulltextIndex' must be annotated at elements
@Search.fulltextIndex can be annotated at a view element only. This
implies that the element is an atomic one; not an association.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Remove the annotation wherever it does not relate to a view element.
Error message extract from SAP system. Copyright SAP SE.
ESH_ENG_CDSVAL_SRCH027
- 'fulltextIndex' must be annotated at elements ?The SAP error message ESH_ENG_CDSVAL_SRCH027 indicates that there is an issue with the definition of a Core Data Services (CDS) view in the context of the SAP Enterprise Search. Specifically, the error states that the
fulltextIndex
must be annotated at the elements of the CDS view that are intended to be included in the full-text search index.Cause:
This error typically arises when you are trying to create or use a CDS view for full-text search, but the necessary annotations for full-text indexing are missing. The
fulltextIndex
annotation is required to specify which fields in the CDS view should be indexed for full-text search capabilities.Solution:
To resolve this error, you need to ensure that the relevant fields in your CDS view are properly annotated with the
@Search.searchable
annotation (or similar annotations depending on your specific requirements). Here’s how you can do that:
Open the CDS View Definition: Locate the CDS view that is causing the error.
Add Annotations: For each field that you want to include in the full-text search, add the appropriate annotation. For example:
define view Z_MY_CDS_VIEW as select from my_table { key field1, field2, @Search.searchable: true field3, @Search.searchable: true field4 }
Check for Other Annotations: Ensure that you have included any other necessary annotations that may be required for your specific use case.
Activate the CDS View: After making the changes, activate the CDS view to apply the new annotations.
Test the Search Functionality: Once activated, test the full-text search functionality to ensure that it works as expected.
Related Information:
By ensuring that your CDS view is correctly annotated, you should be able to resolve the ESH_ENG_CDSVAL_SRCH027 error and enable full-text search functionality as intended.
Get instant SAP help. Start your 7-day free trial now.
ESH_ENG_CDSVAL_SRCH026
@Search: Validation successful
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ESH_ENG_CDSVAL_SRCH021
Test search error: &1&2&3&4
What causes this issue? To finally validate the @Search-annotations, some test searches are carried out on the view.System Response At least one of ...
ESH_ENG_CDSVAL_SRCH028
Fulltext index required but not activated (&1)
What causes this issue? Annotation @Search.fulltextIndex.required signifies that the underlying data base table field is to have a fulltext index; th...
ESH_ENG_CDSVAL_SRCH029
Fulltext index required but not defined (&1)
What causes this issue? Annotation @Search.fulltextIndex.requried signifies that the underlying data base table field is to have a fulltext index; th...
Click on this link to search all SAP messages.