
Making New Business Objects Searchable
If you want to make another business object searchable through the Search Engine Service, you must implement the ABAP interface IF_COM_SE_BUSOBJ for this business object.
For more information, see the documentation of the interface IF_COM_SE_BUSOBJ and its methods in the SAP system.
Activating the SES Delta Indexing Function
There are the following alternative ways SES can update the TREX indices on changes of connected business objects:
SES writes change pointers and waits for the next delta update job to send the changed objects to the TREX index.
The changed objects are immediately sent to the TREX index. The change pointers are also written as fall-back solution for example if TREX is temporarily not available.
To enable the delta indexing functions you must insert a call for one of the following methods at a suitable point in your application:
| Delta Indexing Function | ABAP Class | Methods |
|---|---|---|
|
Change pointer update |
CL_COM_SE_CPOINTER_UPDATE |
CP_INSERT_ARRAY CP_INSERT_SINGLE |
|
Fast update |
CL_COM_SE_FAST_UPDATE |
SET_CHANGED_DATA_ARRAY SET_CHANGED_DATA_SINGLE |
For more information, see the documentation on the methods CP_INSERT_SINGLE orSET_CHANGED_DATA_SINGLE in the SAP system.
For mass changes of thousands of business objects at the same time we recommend you do not use the fast update for performance reasons. If you have implemented the fast update methods, you can switch to the change pointer fall-back function using the SES customizing (SAP NetWeaver → SAP Web Application Server → System Administration → Search Engine Service).