SAP Function TREX_EXT_OPTIMIZE - Optimize Documents

Parameter Reference Type Length Default Optional Text
I_INDEXSERVER_LOCATION TREX_RFC-LOCATION C 20 X IndexServerLocation (Host:Port)
I_INDEX_ID TREX_RFC-INDEX_ID C 64 IndexId
I_KEEP_LUW TREX_RFC-FLAG C 1 '' X Only for debugging: keep logical unit of work
I_LANGUAGE TREX_RFC-LANGUAGE C 2 '' X Language of the index
I_RFC_DESTINATION TREX_RFC-RFC_DESTINATION C 32 RFC Destination
I_USE_QUEUESERVER TREX_RFC-FLAG C 1 'X' X UseQueueServer

Parameter Reference Type Length Text
E_COMPONENT_RUNTIME TREXS_COMPONENT_RUNTIME u 16 run time of the trex components
E_RETURN_CODE TREX_RFC-RETURN_CODE I 4 Return code
E_RETURN_ERROR_DOC TREXT_INDEX_DOCS h 104 Error documents
E_RETURN_TEXT TREX_RFC-RETURN_TEXT C 200 Return text

Exception Text
CONVERSION_ERROR Error during UTF-8 conversion
ERROR Error, see error message