Ansicht
Dokumentation

COM_SE_SEARCH_TEST - Search Engine Service: Overall Test Frame

COM_SE_SEARCH_TEST - Search Engine Service: Overall Test Frame

General Data in Customer Master   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This program is intended as a test framework for customer-specific developments for the Search Engine Service.

Example

You used the ABAP Workbench to develop a customer-specific business object and want to connect this to the search engine service.

Integration

This program offers an integrated test environment. It uses many components of the search engine service, for example, the following:

  • the connection to the search engine
  • the Customizing
  • the function module COM_SE_INDEXER as core of the indexing

Prerequisites

  • The search machine is installed and accessible via a gateway.

Features

The test framework allows you to comfortably test the following actions:

  • Create search engine index
  • Count objects in the application
  • Complete indexing
  • Search of objects in the search engine index
  • List objects from search engine index
  • Delete search engine index

This program differs from the standard programs of the search engine service in the following ways:

  • If you use this program to create an index, it is not activated automatically. Accordingly, indexing and searching in this test framework also work for inactive indexes. Inactive indexes are not considered by the standard programs for indexing and searching. In this way, you can avoid disrupting the productive operation or other tests.
  • You can limit the complete indexing to a certain number of objects. For this reason, a complete indexing that is performed in the test framework is not displayed in the index monitor (transaction COM_SE_ADMIN).
  • You can freely change the package size for the complete indexing on the selection screen, without having to change this parameter in the Customizing.
  • The complete indexing is executed directly in the dialog. In this way, you can test faster and, if necessary, switch to debugging faster. If you want to index larger amounts of objects, then you can start the test framework as a background job.

Selection

Choose a business object, an object type in it, and an action. You also have the following selection options:

  • If you deactivate the indicator Fill index, then the application determines the objects but does not transfer them to the search engine. In this way, you can very simply measure the performance of the application in isolation.
  • If you initialize the input field Attribute, then instead of an "advanced search" being performed on a certain attribute, a "simple search" (full text search) is performed.

Standard Variants

Output

For each action you first get a confirmation of your entries and then the result of your test.

For the actions "Search" and "List Index", the output lists a maximum of 20 objects respective with all of their attributes, as they were returned by the search engine.

Activities

######################################################################################################################################################################################################






TXBHW - Original Tax Base Amount in Local Currency   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4818 Date: 20240531 Time: 193901     sap01-206 ( 67 ms )