SAP Function TREX_RFC_SEARCH_DOCUMENTS_V3 - Search (enhanced version)

Parameter Reference Type Length Default Optional Text
ATTR_DIST_GLOBAL TREXX_ATTR_DIST_GLOBAL u 20 X Global settings for attribute distribution
COUNT_ONLY TREXX_RFC-FLAG X 1 X X: result documents are only counted
INDEXSERVER_LOCATION TREXX_RFC-LOCATION X 20 X Host:Port
MAX_SNIPPET_WORDS TREXX_RFC-NUMC N 10 X Maximum number of words in snippets
REQUESTED_SEARCH_RESULTS TREXX_RFC-REQUESTED_RESULTS N 3 X 1: Documents 2: Statistical infos, 3: Statistical overview
REQUEST_FLAGS TREXX_RFC-NUMC N 10 X 1: DidYouMean, 2: Snippets 4: TitleSnippets or a bit combina
RESULT_FROM TREXX_RFC-NUMC N 10 X from
RESULT_INDEX_NAME TREXX_RFC-INDEX_ID X 64 X
RESULT_TO TREXX_RFC-NUMC N 10 X to
STAGING TREXX_RFC-BOOLEAN N 1 X Staging
SWITCH_ON_TRACE NUM1 N 1 X Numeric 1-character
TRACE_COMPONENTS RAW128 X 128 X Data field for RFC with frontend printing (cont.ASCII data)

Parameter Reference Type Length Text
COMPONENT_RUNTIME TREXX_COMPONENT_RUNTIME u 30 Run time of the trex components
INDEX_SIZE TREXX_RFC-NUMC N 10 Index size
NO_OF_ALL_HITS TREXX_RFC-NUMC N 10 Number of all Hits in Index
NO_OF_HITS TREXX_RFC-NUMC N 10 Number of Hits
RETURN_CODE TREXX_RFC-RETURN_CODE N 5 Return code
RETURN_TEXT TREXX_RFC-RETURN_TEXT X 250 Return text

Parameter Reference Length Optional Text
ADMIN_RESULT_DOCS TREXX_RFC_RETURN_DOC 165 X Export: Administered Result Document
ADMIN_RESULT_DOC_ATTR TREXX_RFC_DOC_ATTRIBUTES 341 X Export: Administered Document attributes
ADMIN_RESULT_DOC_CONTENT TREXX_RFC_DOC_CONTENT 1034 X Export: Administered Document content
ATTR_DIST_DEFINITION TREXX_ATTR_DIST_DEFINITION 221 X Import: Definitions for attribute distribution
ATTR_DIST_OVERVIEW TREXX_ATTR_DIST_OVERVIEW 94 X Export: Attribute distribution overview
ATTR_DIST_RANGES TREXX_ATTR_DIST_RANGE 1110 X Export: Attribute distribution range
ATTR_DIST_VALUES TREXX_ATTR_DIST_VALUE 586 X Export: Attribute distribution value
FREESTYLE_SEARCH_ATTRIBUTES TREXX_RFC_REQ_ATTRIBUTES 64 X Import: freestyle search attributes
HIGHLIGHT_ATTRIBUTES TREXX_RFC_REQ_ATTRIBUTES 64 X Import: highlight Attributes
HINTS TREXX_HINT 288 X RAW: Hints for the optimizer
INDEX_LIST TREXX_RFC_INDEXLIST 66 Import: Indexes
PLACEHOLDERS TREXX_PLACEHOLDER 128 X RAW: Placeholder
QUERY_ENTRY TREXX_RFC_QUERY_ENTRY_V3 471 Import: Query Entries
REQUESTED_LANGUAGES TREXX_LANGUAGE 2 X RAW: Language (ISO 639)
REQ_ATTRIBUTES TREXX_RFC_REQ_ATTRIBUTES_V2 144 X Import: Requested Attributes
RESULT_DOCS TREXX_RFC_RETURN_DOC 165 X Export: Documents
RESULT_DOC_ATTR TREXX_RFC_DOC_ATTRIBUTES_V2 405 X Export: Document Attributes
RESULT_DOC_CONTENT TREXX_RFC_DOC_CONTENT 1034 X Export: Document Content
SIM_QUERY_ENTRY TREXX_SIM_SEARCH_QUERY_ENTRY 212 X search for similar objects
SNIPPET_ATTRIBUTE TREXX_RFC_REQ_ATTRIBUTES 64 X RAW: Requested Attributes
SORT_ATTRIBUTES TREXX_RFC_SORT_ATTRIBUTES_V2 151 X Import: Sort Attributes
SUGGESTED_TERMS TREXX_SUGGESTED_TERM 510 X Export: DidYouMean
TERM_ATTR_INFO TREXX_TERM_ATTR_INFO 1129 X term attribute info
TRACE TREXX_LINE_WITH_LB 130 X line with linebreaks