SAP ABAP Function Module TREX_RFC_SEARCH_DOCUMENTS (Search)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-TRX-API (Application Component) TREX ABAP + JAVA API
     STREX (Package) TREX ABAP client
Basic Data
Function Module TREX_RFC_SEARCH_DOCUMENTS Search  
Function Group TREX_RFC_TM   Internal: Text mining and Search  
Program Name SAPLTREX_RFC_TM    
INCLUDE Name LTREX_RFC_TMU01    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting NO_OF_HITS TYPE TREXX_RFC-NUMC Number of Hits
Exporting NO_OF_ALL_HITS TYPE TREXX_RFC-NUMC Number of all Hits in Index
Exporting INDEX_SIZE TYPE TREXX_RFC-NUMC Index size
Exporting RETURN_CODE TYPE TREXX_RFC-RETURN_CODE Return code
Exporting RETURN_TEXT TYPE TREXX_RFC-RETURN_TEXT Return text
Exporting COMPONENT_RUNTIME TYPE TREXX_COMPONENT_RUNTIME Run time of the trex components
Exporting LINES_WITH_LB TYPE TREXX_LINE_WITH_LB line with linebreaks
Importing INDEXSERVER_LOCATION TYPE TREXX_RFC-LOCATION Host:Port
Importing RESULT_FROM TYPE TREXX_RFC-NUMC from
Importing RESULT_TO TYPE TREXX_RFC-NUMC to
Importing REQUEST_FLAGS TYPE TREXX_RFC-REQUEST_FLAG 1: DidYouMean, 2: Snippets 4: TitleSnippets or a bit combina
Importing MAX_SNIPPET_WORDS TYPE TREXX_RFC-NUMC Maximum number of words in snippets
Importing REQUESTED_SEARCH_RESULTS TYPE TREXX_RFC-REQUESTED_RESULTS 1: Documents 2: Statistical infos, 3: Statistical overview
Importing COUNT_ONLY TYPE TREXX_RFC-FLAG X: result documents are only counted
Importing STAGING TYPE TREXX_RFC-BOOLEAN Staging
Importing ATTR_DIST_GLOBAL TYPE TREXX_ATTR_DIST_GLOBAL Global settings for attribute distribution
Importing SWICH_ON_TRACE TYPE NUMC2 Two digit number
Importing TRACE_COMPONENTS TYPE RAW128 Data field for RFC with frontend printing (cont.ASCII data)
Tables INDEX_LIST TYPE TREXX_RFC_INDEXLIST Import: Indexes
Tables QUERY_ENTRY TYPE TREXX_RFC_QUERY_ENTRY Import: Query Entries
Tables SORT_ATTRIBUTES TYPE TREXX_RFC_SORT_ATTRIBUTES Import: Sort Attributes
Tables REQ_ATTRIBUTES TYPE TREXX_RFC_REQ_ATTRIBUTES Import: Requested Attributes
Tables HIGHLIGHT_ATTRIBUTES TYPE TREXX_RFC_REQ_ATTRIBUTES Import: highlight Attributes
Tables RESULT_DOCS TYPE TREXX_RFC_RETURN_DOC Export: Documents
Tables RESULT_DOC_ATTR TYPE TREXX_RFC_DOC_ATTRIBUTES Export: Document Attributes
Tables RESULT_DOC_CONTENT TYPE TREXX_RFC_DOC_CONTENT Export: Document Content
Tables ADMIN_RESULT_DOCS TYPE TREXX_RFC_RETURN_DOC Export: Administered Result Document
Tables ADMIN_RESULT_DOC_ATTR TYPE TREXX_RFC_DOC_ATTRIBUTES Export: Administered Document attributes
Tables ADMIN_RESULT_DOC_CONTENT TYPE TREXX_RFC_DOC_CONTENT Export: Administered Document content
Tables ATTR_DIST_VALUES TYPE TREXX_ATTR_DIST_VALUE Export: Attribute distribution value
Tables ATTR_DIST_RANGES TYPE TREXX_ATTR_DIST_RANGE Export: Attribute distribution range
Tables ATTR_DIST_OVERVIEW TYPE TREXX_ATTR_DIST_OVERVIEW Export: Attribute distribution overview
Tables ATTR_DIST_DEFINITION TYPE TREXX_ATTR_DIST_DEFINITION Import: Definitions for attribute distribution
Tables SUGGESTED_TERMS TYPE TREXX_SUGGESTED_TERM Export: DidYouMean
Tables TERM_ATTR_INFO TYPE TREXX_TERM_ATTR_INFO term attribute info
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  20040312 
SAP Release Created in 640