SAP ABAP Function Module TREX_EXT_SEARCH_DOCUMENTS_NEW (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_EXT_SEARCH_DOCUMENTS_NEW Search  
Function Group TREX_EXT_TM   External: Text mining and Search  
Program Name SAPLTREX_EXT_TM    
INCLUDE Name LTREX_EXT_TMU14    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting E_RETURN_CODE TYPE TREX_RFC-RETURN_CODE Return code
Exporting E_RETURN_TEXT TYPE TREX_RFC-RETURN_TEXT Return text
Exporting E_RESULT_DOCS TYPE TREXT_RESULT_DOCS Result documents
Exporting E_ADMINISTERED_RESULT_DOCS TYPE TREXT_RESULT_DOCS Administered result documents
Exporting E_ATTR_DIST_VALUES TYPE TREXT_ATTR_DIST_VALUES Attribute distribution values
Exporting E_ATTR_DIST_RANGES TYPE TREXT_ATTR_DIST_RANGES Attribute distribution ranges
Exporting E_ATTR_DIST_OVERVIEWS TYPE TREXT_ATTR_DIST_OVERVIEWS Attribute distribution overviews
Exporting E_SUGGESTED_TERMS TYPE TREXT_SUGGESTED_TERM DidYouMean
Exporting E_NO_OF_HITS TYPE I Number of hits returned
Exporting E_NO_OF_ALL_HITS TYPE I Total number of hits in index
Exporting E_INDEX_SIZE TYPE I Number of documents in index
Exporting E_TERM_ATTR_INFOS TYPE TREXT_TERM_ATTR_INFOS term attr info
Exporting E_COMPONENT_RUNTIME TYPE TREXS_COMPONENT_RUNTIME Run time of the TREX components
Exporting E_TRACE TYPE TREXT_TRACE_LINES Trace
Importing I_INDEXES TYPE TREXT_INDEXLIST Indexes
Importing I_RFC_DESTINATION TYPE TREX_RFC-RFC_DESTINATION RFC Destination
Importing I_INDEXSERVER_LOCATION TYPE TREX_RFC-LOCATION Indexserver (Host:Port)
Importing I_RESULT_FROM TYPE I 1 from
Importing I_RESULT_TO TYPE I 20 to
Importing I_MAX_SNIPPET_WORDS TYPE I 30 Maximum number of word in snippets
Importing I_REQUEST_FLAGS TYPE TREX_RFC-REQUEST_FLAG 0 1: DidYouMean, 2: Snippets, 32: Administered Links
Importing I_QUERY_ENTRIES TYPE TREXT_QUERY_ENTRIES Query Entries
Importing I_SORT_ATTRIBUTES TYPE TREXT_SORT_ATTRIBUTES Sort attributes
Importing I_REQ_ATTRIBUTES TYPE TREXT_ATTRIBUTES Requested attributes
Importing I_REQ_JOIN_ATTRIBUTES TYPE TREXT_JOIN_ATTRIBUTES Requested attributes with indexId and join path
Importing I_HIGHLIGHT_ATTRIBUTES TYPE TREXT_ATTRIBUTES Attributes for highlighting
Importing I_FREESTYLE_SEARCH_ATTRIBUTES TYPE TREXT_ATTRIBUTES Freestyle Attributes
Importing I_FREESTYLE_SEARCH_ATTRIBUTES2 TYPE TREXT_FREESTYLE_ATTRIBUTES Freestyle Attributes
Importing I_REQUESTED_RESULTS TYPE TREX_RFC-REQUESTED_RESULTS 1 1: documents 2: statistical info 3: statistical overview 8: attr search
Importing I_COUNT_ONLY TYPE TREX_RFC-FLAG '' X: result documents are only counted
Importing I_STAGING TYPE TREX_RFC-BOOLEAN 0 Staging, 0: false, 1: true
Importing I_ATTR_DIST_GLOBAL TYPE TREXS_ATTR_DIST_GLOBAL Attribute distribution: Global settings
Importing I_ATTR_DIST_DEFINITION TYPE TREXT_ATTR_DIST_DEFINITION Attribute distribution: Definition
Importing I_SNIPPET_ATTRIBUTES TYPE TREXT_ATTRIBUTES Snippets for text attributes
Importing I_SIM_QUERY TYPE TREXT_SIM_SEARCH_QUERY_ENTRIES Query for similar object search
Importing I_HINTS TYPE TREXT_HINTS Hints for the optimizer
Importing I_PLACEHOLDERS TYPE TREXT_PLACEHOLDERS placeholder
Importing I_SWITCH_ON_TRACE TYPE NUMC2 1: python trace, 2: executor (plan), 3:1+ 2, 4:ABAP trace
Importing I_TRACE_COMPONENTS TYPE CHAR128 Trace component
Importing I_REQUESTED_LANGUAGES TYPE TREXT_LANGUAGES Optional: languages range list (for output)
Importing I_RESULT_INDEX_NAME TYPE TREXD_INDEX_ID Optional: Index Id for Result Index
Importing I_LOCALE TYPE TREX_RFC-LOCALE Optional: locale for sorting
Exception CONVERSION_ERROR TYPE Error during conversion
Exception ERROR TYPE Error, see error message
               
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  20041216 
SAP Release Created in 640